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