Giter Site home page Giter Site logo

Querying nested fields about bodybuilder HOT 9 CLOSED

danpaz avatar danpaz commented on May 27, 2024
Querying nested fields

from bodybuilder.

Comments (9)

bryanpizzillo avatar bryanpizzillo commented on May 27, 2024 5

I am adding a nested query in for something I am working on and send a pull request when done.

from bodybuilder.

parthdesai93 avatar parthdesai93 commented on May 27, 2024 3

I se this is still open. Do you mind if i send a pull request and try to work on it.

from bodybuilder.

danpaz avatar danpaz commented on May 27, 2024 1

@parthdesai93 sounds great to me!

from bodybuilder.

gauravarora avatar gauravarora commented on May 27, 2024

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.

danpaz avatar danpaz commented on May 27, 2024

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.

slackbits avatar slackbits commented on May 27, 2024

Nested filters have been removed in 2.x. So the filter would only be appropriate in 1.x.

from bodybuilder.

alexcastillo avatar alexcastillo commented on May 27, 2024

+1

from bodybuilder.

danpaz avatar danpaz commented on May 27, 2024

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.

danpaz avatar danpaz commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.