GithubHelp home page GithubHelp logo

Query builder orWhere about aura.sql HOT 4 CLOSED

auraphp avatar auraphp commented on July 16, 2024
Query builder orWhere

from aura.sql.

Comments (4)

pmjones avatar pmjones commented on July 16, 2024

Hi @ramirovjr -- adding an OR is a natural "break" in precedence; it would be presumptive to add parentheses on behalf of the user. If needed, you might try adding an open paren in one WHERE condition and a closing paren in a later WHERE condition. Having said that, if you still feel the query builder should do this automatically, I'd be happy to review and discuss any pull request you submit.

from aura.sql.

 avatar commented on July 16, 2024

Your solution seens to solve the problem too, haven't thought about it.
I think that a simple documentation fix solves the bug, do you agree?
If you still want a patch, I can build it and we talk more about it.

from aura.sql.

harikt avatar harikt commented on July 16, 2024

@ramirovjr PR are always welcome, don't ask whether we need a PR or not ;) . Give it .

Thank you.

from aura.sql.

pmjones avatar pmjones commented on July 16, 2024

I think we're good here. @ramirovjr if you want to write up a patch to the docs, that's fine with me. Thanks!

from aura.sql.

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.