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