Skip to content

Feature Static Delete Method #471

Open

Description

I'm not too familiar with open source collaboration and pull requests, but it would be nice to have a static delete method such that if an argument is passed it is assumed to be a matchObj which works in a similar fashion to create or upsert.

static delete = (matchObj) => {
  MyModel.get(matchObj).delete();
};

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions