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