from secretGeek.net
Editors for |
SQLike
|
jsLinq
|
jSinq
|
jLinq
|
jimmyLinq
|
nimbleText
|
nimbleSet
An editor for
Jimmy Chandra's Linq to Javascript
Jimmy Linq 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
from (dataJson) .where (function(n) { return n.lastName === "Lennon" || n.lastName === "McCartney"; }) .orderby([ "born", "lastName", "firstName" ]) .select(function(n) { return { FullName : n.firstName + " " + n.lastName, Year : n.born }; });
← Exec it!!
Examples...
select where
select where
Pick an example →
Result
No results yet. (Hint: Press
'Exec'
button.)