javascript or query using $or
I have a database in my column called route its a number column
I need to have the where query search for numbers that is 1 or 3 only.
Can you please help me I have tried all of these
//return '{"route":"'+value+'"}';
//return '{"$or":"{"route": "3"},{"username": "a href="mailto:vinny2010b@gmail.com" rel="nofollow"vinny2010b@gmail.com/a"}}';
//return {"route": {"$in": [1,3]}};
//a = {"route": {"$in": [1,3]}};
//return a;