DormTransaction.remove

Deletes the given model instance from the database inside the transaction.

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

  1. RemoveOperation!T remove()
  2. bool remove(T instance)
    struct DormTransaction
    @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