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