Skip to content

UpdateStringOps

extension UpdateStringOps on String

Convenience extensions for constructing updates from SQL strings.

Properties

update0 extension no setter

Update0 get update0

Available on String, provided by the UpdateStringOps extension

Implementation
dart
Update0 get update0 => Update0(this);

Methods

update() extension

Update<A> update<A>(Write<A> write)

Available on String, provided by the UpdateStringOps extension

Implementation
dart
Update<A> update<A>(Write<A> write) => Update(this, write);

updateReturning() extension

UpdateReturning<A, B> updateReturning<A, B>(Write<A> write, Read<B> read)

Available on String, provided by the UpdateStringOps extension

Implementation
dart
UpdateReturning<A, B> updateReturning<A, B>(
  Write<A> write,
  Read<B> read,
) => UpdateReturning(this, write, read);