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