tiny
tiny copied to clipboard
Query returning 0 records gives error
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.