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