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