brianloveswords / streamsql

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

Match docs for multiple conditions on single column #24

Closed davidguttman closed 10 years ago

davidguttman commented 10 years ago

Code expects op: '>=' but docs say operation: '>=':

albums.get({
  artist: 'David Bowie',
  release_year: [{
    operation: '>=',
    value: 1976
  }, {
    operation: '<='
    value: 1978
  }]
}, function(err, rows){ ... })
brianloveswords commented 10 years ago

Rad, thanks! I'll take a look at this today

brianloveswords commented 10 years ago

Well, I'll take a look at it RIGHT NOW, didn't realize it was such a minor fix!

brianloveswords commented 10 years ago

v0.8.5 published

davidguttman commented 10 years ago

Btw, this makes dealing with sql way nicer than I thought possible =)

brianloveswords commented 10 years ago

Thank you very much! :dancer: