Unknown column 'js' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = js and session_id = "5efk5fkpas7u0ou1h4clkur7m4"