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