$linq 介绍
$linq 是 .NET 库 LINQ 的 JavaScript
版,支持查询、条件查询、排序、distinct、分组、联合和排除查询等。
$linq 同时实现了一些来自 MoreLinq 中的方法,可与
jQuery 的集合和数组协作。
示例程序:
var people = [{ Name: “Senthil Kumar”},
{ Name: “Norton Stanley”},
{ Name: “Pavam M”}];
var filteredData = people.where(“x => x =’Norton Stanley’“).toArray();
$linq 官网
http://jscriptlinq.codeplex.com/