OfflineSyncIntegrityViolationRepository class

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

count(DatabaseSession session, {WhereExpressionBuilder<OfflineSyncIntegrityViolationTable>? where, int? limit, Transaction? transaction}) → Future<int>
Counts the number of rows matching the where expression. If omitted, will return the count of all rows in the table.
delete(DatabaseSession session, List<OfflineSyncIntegrityViolation> rows, {OrderByBuilder<OfflineSyncIntegrityViolationTable>? orderBy, OrderByListBuilder<OfflineSyncIntegrityViolationTable>? orderByList, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncIntegrityViolation>>
Deletes all OfflineSyncIntegrityViolations in the list and returns the deleted rows.
deleteRow(DatabaseSession session, OfflineSyncIntegrityViolation row, {Transaction? transaction}) → Future<OfflineSyncIntegrityViolation>
Deletes a single OfflineSyncIntegrityViolation.
deleteWhere(DatabaseSession session, {required WhereExpressionBuilder<OfflineSyncIntegrityViolationTable> where, OrderByBuilder<OfflineSyncIntegrityViolationTable>? orderBy, OrderByListBuilder<OfflineSyncIntegrityViolationTable>? orderByList, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncIntegrityViolation>>
Deletes all rows matching the where expression.
find(DatabaseSession session, {WhereExpressionBuilder<OfflineSyncIntegrityViolationTable>? where, int? limit, int? offset, OrderByBuilder<OfflineSyncIntegrityViolationTable>? orderBy, OrderByListBuilder<OfflineSyncIntegrityViolationTable>? orderByList, Transaction? transaction, LockMode? lockMode, LockBehavior? lockBehavior}) → Future<List<OfflineSyncIntegrityViolation>>
Returns a list of OfflineSyncIntegrityViolations matching the given query parameters.
findById(DatabaseSession session, int id, {Transaction? transaction, LockMode? lockMode, LockBehavior? lockBehavior}) → Future<OfflineSyncIntegrityViolation?>
Finds a single OfflineSyncIntegrityViolation by its id or null if no such row exists.
findFirstRow(DatabaseSession session, {WhereExpressionBuilder<OfflineSyncIntegrityViolationTable>? where, int? offset, OrderByBuilder<OfflineSyncIntegrityViolationTable>? orderBy, OrderByListBuilder<OfflineSyncIntegrityViolationTable>? orderByList, Transaction? transaction, LockMode? lockMode, LockBehavior? lockBehavior}) → Future<OfflineSyncIntegrityViolation?>
Returns the first matching OfflineSyncIntegrityViolation matching the given query parameters.
insert(DatabaseSession session, List<OfflineSyncIntegrityViolation> rows, {Transaction? transaction, bool ignoreConflicts = false, bool noReturn = false}) → Future<List<OfflineSyncIntegrityViolation>>
Inserts all OfflineSyncIntegrityViolations in the list and returns the inserted rows.
insertRow(DatabaseSession session, OfflineSyncIntegrityViolation row, {Transaction? transaction}) → Future<OfflineSyncIntegrityViolation>
Inserts a single OfflineSyncIntegrityViolation and returns the inserted row.
lockRows(DatabaseSession session, {required WhereExpressionBuilder<OfflineSyncIntegrityViolationTable> where, required LockMode lockMode, required Transaction transaction, LockBehavior lockBehavior = _isd.LockBehavior.wait}) → Future<void>
Acquires row-level locks on OfflineSyncIntegrityViolation rows matching the where expression.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(DatabaseSession session, List<OfflineSyncIntegrityViolation> rows, {ColumnSelections<OfflineSyncIntegrityViolationTable>? columns, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncIntegrityViolation>>
Updates all OfflineSyncIntegrityViolations in the list and returns the updated rows. If columns is provided, only those columns will be updated. Defaults to all columns. This is an atomic operation, meaning that if one of the rows fails to update, none of the rows will be updated.
updateById(DatabaseSession session, int id, {required ColumnValueListBuilder<OfflineSyncIntegrityViolationUpdateTable> columnValues, Transaction? transaction}) → Future<OfflineSyncIntegrityViolation?>
Updates a single OfflineSyncIntegrityViolation by its id with the specified columnValues. Returns the updated row or null if no row with the given id exists.
updateRow(DatabaseSession session, OfflineSyncIntegrityViolation row, {ColumnSelections<OfflineSyncIntegrityViolationTable>? columns, Transaction? transaction}) → Future<OfflineSyncIntegrityViolation>
Updates a single OfflineSyncIntegrityViolation. The row needs to have its id set. Optionally, a list of columns can be provided to only update those columns. Defaults to all columns.
updateWhere(DatabaseSession session, {required ColumnValueListBuilder<OfflineSyncIntegrityViolationUpdateTable> columnValues, required WhereExpressionBuilder<OfflineSyncIntegrityViolationTable> where, int? limit, int? offset, OrderByBuilder<OfflineSyncIntegrityViolationTable>? orderBy, OrderByListBuilder<OfflineSyncIntegrityViolationTable>? orderByList, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncIntegrityViolation>>
Updates all OfflineSyncIntegrityViolations matching the where expression with the specified columnValues. Returns the list of updated rows.
upsert(DatabaseSession session, List<OfflineSyncIntegrityViolation> rows, {required ColumnSelections<OfflineSyncIntegrityViolationTable> conflictColumns, ColumnSelections<OfflineSyncIntegrityViolationTable>? updateColumns, WhereExpressionBuilder<OfflineSyncIntegrityViolationTable>? updateWhere, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncIntegrityViolation>>
Upserts all OfflineSyncIntegrityViolations in the list and returns the resulting rows.
upsertRow(DatabaseSession session, OfflineSyncIntegrityViolation row, {required ColumnSelections<OfflineSyncIntegrityViolationTable> conflictColumns, ColumnSelections<OfflineSyncIntegrityViolationTable>? updateColumns, WhereExpressionBuilder<OfflineSyncIntegrityViolationTable>? updateWhere, Transaction? transaction}) → Future<OfflineSyncIntegrityViolation?>
Upserts a single OfflineSyncIntegrityViolation and returns the resulting row.

Operators

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