Comments (4)
This is officially fixed in the v2 branch. Beta should be out soon.
from node-querybuilder.
Interesting edge case. I'll write a test and add it to the v2 release.
from node-querybuilder.
@kylefarris My example is a pruned down version that isolates the issue. My actual query had hundreds of items in the array.
from node-querybuilder.
@Flamenco Oh, I'm sure. Looks like a totally valid issue, I just never thought of that particular case when writing the tests. I'm deep into writing version 2 of the module. The fix for this will be in that release. I'm hoping to have it out in the next few weeks or so. I'm glad you have workaround for now.
Thanks for your bug report and input!
from node-querybuilder.
Related Issues (20)
- How to create Nested Or/And clauses? HOT 1
- Example in DELETE docs does not close connection on error HOT 9
- insert_batch on_dupe and callback?
- [mysql driver] typeCast setting does not work HOT 1
- calling where_in with an empty array returns all rows HOT 4
- get(...) should have an optional where parameter HOT 1
- why need the line pool.get_connection ? HOT 1
- Long running connection getting dropped without proper handling HOT 1
- Is this project dead? HOT 2
- Using NOW() in custom where? HOT 3
- Simple Question HOT 3
- insert_ignore and dupe HOT 1
- like() Numeric bug HOT 2
- How to get is null condition? HOT 1
- Error when using case when
- error in batch_update | Cannot read property 'reset_query' of undefined HOT 1
- Select {tableName}.* from {tableName} not working
- doesn't have first() method
- NULL does not support HOT 1
- .count() will always throw an error HOT 1
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 node-querybuilder.