Comments (3)
Hi you can use
db({name:["my name 1","my name 2"]});
from taffydb.
Thanks for your reply.
I wonder, what should I do for having an or
condition between different columns?
I mean:
db( {name: "my name 1"}, {surname: "my surname 2"} );
I need to obtain all records having name = "my name 1"
OR surname = "my surname 2"
Thanks in advance
from taffydb.
db([{name: "my name 1"}, {surname: "my surname 2"}]);
You can find a good description of all the possible queries here: http://www.taffydb.com/writingqueries
from taffydb.
Related Issues (20)
- Multiple Levels of nested Objects HOT 2
- taffy 2.7.x breaks its own `column: {isUndefined: true}` filter
- documentation fix HOT 3
- Complex queries -- Specific syntax needed for 'AND' HOT 1
- .order .start .limit need help
- State of the project HOT 9
- License for http://registry.npmjs.com/taffydb/2.6.2 HOT 6
- Query with both and + or filters does not work
- Is Taffy records schema-full? HOT 1
- Official website seems to be down HOT 11
- Sync to server database? HOT 1
- Entries duplicated with store('table_name') / local storage? HOT 1
- Create undo
- Does sort actually work? HOT 1
- upgrade taffydb: select, key name HOT 1
- TypeError: TAFFY is not a function HOT 2
- Query Callback error when including delay HOT 1
- snyk test shows Internal Property Tampering issue HOT 4
- Security issue with snyk test.
- Loading taffyDB as a library for Apps Script HOT 2
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 taffydb.