brianloveswords / streamsql

A streaming, backend agnostic SQL ORM heavily inspired by levelup
MIT License
67 stars 7 forks source link

`OR` queries #19

Closed andrewhayward closed 10 years ago

andrewhayward commented 10 years ago

Adding OR functionality to WHERE queries - ... WHERE (<clause 1>) OR (<clause 2>) ...:

table.get([{...}, {...}], ...)

Scratching my head as to how ... WHERE <clause 1> AND ((<clause 2>) OR (<clause 3>)) ... might be enabled, but I think this is a step in the right direction.

brianloveswords commented 10 years ago

Thanks, I'll try to take a look at this later today!

brianloveswords commented 10 years ago

I MEAN TO LOOK AT THIS AND THEN I FAILED

Can you also write some docs for it in the readme?

andrewhayward commented 10 years ago

@brianloveswords - as you wish.

brianloveswords commented 10 years ago

I'M THE WORST, FUCK IT, LET'S DO IT LIVE.