TableOperations<Tbl extends Table, Row> extension

Additional methods for a TableOrViewOperations that are only available on tables.

on

Methods

delete() DeleteStatement<Tbl, Row>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Creates a statement to compose a DELETE from the database.
deleteOne(Insertable<Row> row) Future<bool>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Deletes the row from the captured table.
deleteWhere(Expression<bool?> filter(Tbl tbl)) Future<int>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Deletes all rows matching the filter from the table.
insert() InsertStatement<Tbl, Row>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Creates an insert statment to be used to compose an insert on the captured table.
insertOnConflictUpdate(Insertable<Row> row) Future<int>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Inserts one row into the captured table, replacing an existing row if it exists already.
insertOne(Insertable<Row> row, {InsertMode? mode, UpsertClause<Tbl, Row>? onConflict}) Future<int>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Inserts one row into the captured table.
insertReturning(Insertable<Row> row, {InsertMode? mode, UpsertClause<Tbl, Row>? onConflict}) Future<Row>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Inserts one row into the captured table and returns it, along with auto- generated fields.
replace(Insertable<Row> row) Future<void>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Replaces a single row with an update statement.
update() UpdateStatement<Tbl, Row>

Available on TableOrViewOperations<Tbl, Row>, provided by the TableOperations extension

Creates a statement to compose an UPDATE into the database.