Unknown column 'public' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = public and session_id = "hi6rqc3b212lfa86f93g4gtid1"