Skip to content

Query returning 0 records gives error #8

Description

@Tenzer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions