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