Comments (9)
I am adding a nested query in for something I am working on and send a pull request when done.
from bodybuilder.
I se this is still open. Do you mind if i send a pull request and try to work on it.
from bodybuilder.
@parthdesai93 sounds great to me!
from bodybuilder.
Looking at the code I could not find a nest query type so the error is correct. I suppose you will need something along the lines of a nested aggregation for queries as well.
from bodybuilder.
There is a nested
filter type which is probably what you want except for a filter. If so, could duplicate that logic for queries as well.
from bodybuilder.
Nested filters have been removed in 2.x. So the filter would only be appropriate in 1.x.
from bodybuilder.
+1
from bodybuilder.
We're trying out a new approach to composing builders, which would also include the ability to write nested queries. Check out the experimental branch #71 if you're interested and to leave any feedback you may have.
from bodybuilder.
The next version of bodybuilder will support nested
queries, give it a try by installing the beta release:
npm install bodybuilder@beta
And see this example for its usage.
If this doesn't solve your issue please reopen!
from bodybuilder.
Related Issues (20)
- Script Based Sort HOT 1
- Can you please publish 2.2.22 to NPM? HOT 3
- Problem with 2.2.23 npm release? HOT 14
- Bodybuilder v3.0 HOT 8
- Escaping hyphens HOT 3
- Lodash & treeshaking. HOT 2
- Travis no longer builds on travis-ci.org HOT 1
- [Question] Is there a way to convert ES queries to bodybuilder implementation? HOT 3
- [Question] How to merge two bodybuilder queries? HOT 3
- How to convert the query to bodybuilder syntax? HOT 1
- Use npm automation token in CI
- Support for aggregations without field missing HOT 1
- Elasticsearch msearch? HOT 1
- Is it possible to control the order of methods when chaining multiple? HOT 2
- Release new version from master branch HOT 1
- Dependency lodash.set has Prototype Pollution vulnerability HOT 6
- [Question] How would you use Bodybuiler on aggs queries? HOT 2
- How to generate the following nested statements HOT 1
- Embed types into the source code
- Embed types into the source code HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bodybuilder.