Open agershun opened 9 years ago
Instead SQL text code, this function will accept AST as an input, like:
var res = alasql.run({statement:'=', expression;{value:10}});
This can save about 100 kb and allow to implement other interfaces for other JS languages, e.g. Clojure
Is the idea to change the AST with this syntax internally? Otherwise it could be another "flavour" for querying
Yes. The idea to create something like LINQ and ORM and MongoDB plus external JSON interface
Instead SQL text code, this function will accept AST as an input, like:
This can save about 100 kb and allow to implement other interfaces for other JS languages, e.g. Clojure