This project has moved. For the latest updates, please go here.

Dynamic Query

May 6, 2015 at 2:55 PM
Edited May 6, 2015 at 2:58 PM
May I know if it will be possible to create dynamic where clauses using JSLINQ? Can anyone please suggest an approach?

e.g.
var exampleArray = JSLINQ(myList)
                       .Where(function (item) { return item.FirstName=="Jo" })
                       .OrderBy(function (item) { return item.FirstName; })
                       .Select(function (item) { return item.FirstName; });
what if I would like to have conditions added to it dynamically (something similar to dynamic query in SQL).