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