Link Details

Link 1026785 thumbnail
User 1107615 avatar

By hegger
via odetocode.com
Submitted: Sep 04 2013 / 13:22

The idea is to take a JavaScript statement like the following: c.find({ x: 1, y: 3, name: "foo" }, { id: 0 }).limit(1); .. and turn the statement into a data structure that describes the methods being invoked and the arguments for each method call. There are multiple method names to capture (not just find and limit, but also findOne, orderBy, and more).
  • 2
  • 0
  • 171
  • 50

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax