tiny icon indicating copy to clipboard operation
tiny copied to clipboard

Query returning 0 records gives error

Open Tenzer opened this issue 13 years ago • 0 comments

When doing a query which doesn't match any records, the callback is called with the error argument set to Error: No records. Is this the right thing to do? Wouldn't it be better to return an empty result set, and let people check if there are any results themselves? I would say the error argument only should be set if an error really happened, which making a query with zero results not is - at least for me.

Tenzer avatar Jun 11 '12 14:06 Tenzer