brianloveswords / streamsql

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

Fix #10: Empty queries w/relationships shouldn't hang #11

Closed brianloveswords closed 10 years ago

brianloveswords commented 10 years ago

So if a query is made that has {relationships: true} and it's a get (as opposed to getOne) and that query returns no rows, the query would hang. This fixes that problem.