MssqlUpdate class

A single-table UPDATE.

Available extensions
Annotations
  • @immutable

Constructors

MssqlUpdate.table(String identifier)
factory
MssqlUpdate.tableParts(List<String> parts)
The parts-based form; see MssqlSource.parts.
factory

Properties

all → bool
final
assignments → Map<String, Object?>
final
conditions → List<MssqlCondition>
final
hashCode → int
The hash code for this object.
no setterinherited
output → MssqlOutputClause?
What the statement reports about the rows it wrote, if anything.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → MssqlSource
final

Methods

allRows() → MssqlUpdate
Every row. Deliberate, and greppable.
compile({MssqlDialect dialect = MssqlDialect.sql2012}) → MssqlStatement
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
returning(MssqlOutputClause clause) → MssqlUpdate
Reports the written rows through an OUTPUT clause.
run(MssqlSession session, {MssqlDialect dialect = MssqlDialect.sql2012, Duration? timeout}) → Future<int>

Available on MssqlUpdate, provided by the MssqlUpdateExecution extension

runReturning(MssqlSession session, {MssqlDialect dialect = MssqlDialect.sql2012, Duration? timeout}) → Future<List<MssqlRow>>

Available on MssqlUpdate, provided by the MssqlUpdateExecution extension

Runs the statement and returns the rows its OUTPUT clause produced.
set(Map<String, Object?> columns) → MssqlUpdate
toString() → String
A string representation of this object.
inherited
where(MssqlCondition condition) → MssqlUpdate

Operators

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