MssqlOutputClause class

An OUTPUT clause on an INSERT, UPDATE or DELETE.

This is how a write reports what it did without a second statement racing against other writers: the rows come from the write itself, so nothing can change them in between.

Annotations
  • @immutable

Constructors

MssqlOutputClause(Iterable<MssqlOutputColumn> columns, {MssqlOutputTarget? into})
MssqlOutputClause.deleted(Iterable<String> columns, {MssqlOutputTarget? into})
Every named column, read from DELETED.
factory
MssqlOutputClause.inserted(Iterable<String> columns, {MssqlOutputTarget? into})
Every named column, read from INSERTED.
factory

Properties

columns → List<MssqlOutputColumn>
final
hashCode → int
The hash code for this object.
no setterinherited
into → MssqlOutputTarget?
Null returns the rows to the caller; non-null diverts them into a table.
final
returnsRows → bool
Whether the rows come back as a result set rather than going into a table.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sql → String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited