Find a way to get query AST
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
For interest of @metarhia/angeli
Now we have query language as simple as JavaScript, example:
``` js
(person) => (
person.name !== '' &&
person.age > 18 &&
person.city === 'Rome'
)
```
I also made an example of dynamic prototype building from metadata for positioning array processing as if they were objects in JSTP: https://github.com/metarhia/JSQL/blob/master/Examples/filterArray.js
Usage of this query is quite simple `var res = data.filter(query);`
But we need indexing, sharding and distributed execution in GlobalStorage, so I think we need to parse query into AST or get AST from V8 to programmatically analyze query structure before execution to find indexes for example or to separate execution into multiple servers. @DzyubSpirit may prepare some research, maybe @aqrln and @lundibundi or somebody from @metarhia/angeli may help.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.