DB Error: ERROR: operator does not exist: text = integer LINHA 15: ...nal_id AND jsoai.setting_name= $1 AND jsoai.setting_value=1) ^ DICA: No operator matches the given name and argument type(s). You might need to add explicit type casts.