Wrong identifier
Open
- Dominant language
- JavaScript
- Stars
- 276
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
`sum(price)=gt=3` query generates following object:
``` js
{
name: 'and',
args: [
{ name: 'sumgt', args: [ [ 'price' ], 3 ] }
],
cache: {}
}
```
Shouldn't it be like `gt(sum(price),3)`
``` js
{
name: 'and',
args: [{
name: 'gt',
args: [ { name: 'sum', args: [ 'price' ] }, 3 ]
} ],
cache: {}
}
```
Or at least it may throw exception.
Best Regards,
Contributor guide
Assessment
This issue has not been assessed yet.