pudo / dataset

Easy-to-use data handling for SQL data stores with support for implicit table creation, bulk loading, and transactions.
https://dataset.readthedocs.org/
MIT License
4.76k stars 297 forks source link

How do I use "AND", "OR" logical operators with .find() ? #369

Closed DataGreed closed 3 years ago

DataGreed commented 3 years ago

How do I use "AND", "OR" logical operators with .find() ?

I've looked through the docs, but didn't find anything on it. The only page about operators is this one, but it does not list "AND" and "OR" operators.

pudo commented 3 years ago

It's not supported. The whole query operators thing has escalated a bit, it was originally meant to be "equals, or write your own query". There's not really an overarching plan for some query DSL in dataset (like MongoDB queries or something), so I'd be reluctant to add this ad-hoc.