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)
    struct DormDB
    @safe return
    bool
    remove
    (
    T : Model
    )
  3. bool remove(TPatch instance)

Return Value

Type: bool

true if anything was deleted, false otherwise.

See Also

RemoveOperation.single

Meta