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)
  3. bool remove(TPatch instance)
    struct DormTransaction
    @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