DormDB.remove

Deletes the given model instance from the database.

Equivalent to calling db.remove!T.single(instance).

  1. RemoveOperation!T remove()
  2. bool remove(T instance)
  3. bool remove(TPatch instance)
    struct DormDB
    @safe return
    bool
    remove
    (
    TPatch
    )
    (
    TPatch instance
    )
    if (
    !is(TPatch : Model) &&
    isSomePatch!TPatch
    )

Return Value

Type: bool

true if anything was deleted, false otherwise.

See Also

RemoveOperation.single

Meta