Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
110
rated 0 times [  112] [ 2]  / answers: 1 / hits: 8012  / 11 Years ago, sun, december 8, 2013, 12:00:00

I am new to this very very nice Linq.js library that I have just discovered. I am following the examples to write queries like:



Enumerable.from(jsonArray).select(...); // noice


Can I do this shortcut?



jsonArray.select(...); // error as expected


I read the tests in library, seems like pretty much every call starts with Enumerable.someCommand();. I am wondering if the linq commands have been applied to the correct prototypes in js, so I can call them in the style of 2nd line of code. am I not aware of it because I am a newbie?


More From » linq

 Answers
1

I am the creator of the open source project http://www.jinqJs.com.



You could simply do jinqJs().from(jsonArray).select();



Let me know if I could be of any more help


[#49736] Saturday, December 7, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sonja

Total Points: 541
Total Questions: 113
Total Answers: 114

Location: Anguilla
Member since Sun, Jan 29, 2023
1 Year ago
sonja questions
Mon, Nov 30, 20, 00:00, 4 Years ago
Sun, Oct 11, 20, 00:00, 4 Years ago
Thu, May 21, 20, 00:00, 4 Years ago
Sun, Nov 10, 19, 00:00, 5 Years ago
Mon, Aug 26, 19, 00:00, 5 Years ago
;