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