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