Skip to content

Isn't update, patch, and remove supposed to support query like behavior? #21

@rmoskal

Description

@rmoskal

I'm looking at the feathers docs here:
patch(id, data, params [, callback]) merges the existing data of the resource identified by id with the new data. id can also be null indicating that multiple resources should be patched.

It seems to me that you're supposed to be able to pass a null in for the id and then I suppose the query criteria would be in params?

Do the other feathers database adapters not work like this? It seems like it would just be a matter of using the collection.update function.

Is this on the agenda :). If not, maybe I'll take a crack at it next week.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions