brianloveswords / streamsql

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

Bug fix for queries where value=null #23

Open ghost opened 10 years ago

ghost commented 10 years ago

This fixes a bug when you have a query of the form:

query.processed = { value: null, op: 'IS NOT' };

Without the change, cnd.value is incorrectly seen as not being valid when set to null.

andrewhayward commented 10 years ago

I have a feeling this is going to have a nice conflict with #19 :)