from secretGeek.net
Editors for |
SQLike
|
jsLinq
|
jSinq
|
jLinq
|
jimmyLinq
|
nimbleText
|
nimbleSet
An editor for
Chris Pietschmann's
Linq to Javascript
JSLinq editor
[ | ]
[ ]
(dataJson2)
Given this data
(dataJson)
firstName,lastName,instrument,born John,Lennon,guitar,1940 Paul,McCartney,bass,1942 Ringo,Starr,drums,1940 George,Harrison,guitar,1943
firstName,lastName,instrument,born Roger,Waters,bass,1943 Nick,Mason,drums,1944 Richard,Wright,keyboard,1943 Syd,Barrett,guitar,1946 David,Gilmour,guitar,1946
Execute this query
JSLINQ(dataJson) .Where(function(item){return item.firstName == 'Ringo'})
← Exec it!!
Examples...
LastOrDefault
Where
Where (& index)
Select
SelectMany
OrderBy
OrderByDescending
Count
Count (& where)
Count (& index)
Distinct
Any
Any
All
All
Reverse
First
First, +index
Last
Last, +index
ElementAt
Intersect
Intersect
Intersect
DefaultIfEmpty
DefaultIfEmpty
ElementAtOrDefault
FirstOrDefault
LastOrDefault
Pick an example →
Result
No results yet. (Hint: Press
'Exec'
button.)