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