OfflineSyncSpaceNodeRepository class

Properties

attachRow → OfflineSyncSpaceNodeAttachRowRepository
final
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<OfflineSyncSpaceNodeTable>? 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<OfflineSyncSpaceNode> rows, {OrderByBuilder<OfflineSyncSpaceNodeTable>? orderBy, OrderByListBuilder<OfflineSyncSpaceNodeTable>? orderByList, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncSpaceNode>>
Deletes all OfflineSyncSpaceNodes in the list and returns the deleted rows.
deleteRow(DatabaseSession session, OfflineSyncSpaceNode row, {Transaction? transaction}) → Future<OfflineSyncSpaceNode>
Deletes a single OfflineSyncSpaceNode.
deleteWhere(DatabaseSession session, {required WhereExpressionBuilder<OfflineSyncSpaceNodeTable> where, OrderByBuilder<OfflineSyncSpaceNodeTable>? orderBy, OrderByListBuilder<OfflineSyncSpaceNodeTable>? orderByList, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncSpaceNode>>
Deletes all rows matching the where expression.
find(DatabaseSession session, {WhereExpressionBuilder<OfflineSyncSpaceNodeTable>? where, int? limit, int? offset, OrderByBuilder<OfflineSyncSpaceNodeTable>? orderBy, OrderByListBuilder<OfflineSyncSpaceNodeTable>? orderByList, Transaction? transaction, OfflineSyncSpaceNodeInclude? include, LockMode? lockMode, LockBehavior? lockBehavior}) → Future<List<OfflineSyncSpaceNode>>
Returns a list of OfflineSyncSpaceNodes matching the given query parameters.
findById(DatabaseSession session, int id, {Transaction? transaction, OfflineSyncSpaceNodeInclude? include, LockMode? lockMode, LockBehavior? lockBehavior}) → Future<OfflineSyncSpaceNode?>
Finds a single OfflineSyncSpaceNode by its id or null if no such row exists.
findFirstRow(DatabaseSession session, {WhereExpressionBuilder<OfflineSyncSpaceNodeTable>? where, int? offset, OrderByBuilder<OfflineSyncSpaceNodeTable>? orderBy, OrderByListBuilder<OfflineSyncSpaceNodeTable>? orderByList, Transaction? transaction, OfflineSyncSpaceNodeInclude? include, LockMode? lockMode, LockBehavior? lockBehavior}) → Future<OfflineSyncSpaceNode?>
Returns the first matching OfflineSyncSpaceNode matching the given query parameters.
insert(DatabaseSession session, List<OfflineSyncSpaceNode> rows, {Transaction? transaction, bool ignoreConflicts = false, bool noReturn = false}) → Future<List<OfflineSyncSpaceNode>>
Inserts all OfflineSyncSpaceNodes in the list and returns the inserted rows.
insertRow(DatabaseSession session, OfflineSyncSpaceNode row, {Transaction? transaction}) → Future<OfflineSyncSpaceNode>
Inserts a single OfflineSyncSpaceNode and returns the inserted row.
lockRows(DatabaseSession session, {required WhereExpressionBuilder<OfflineSyncSpaceNodeTable> where, required LockMode lockMode, required Transaction transaction, LockBehavior lockBehavior = _isd.LockBehavior.wait}) → Future<void>
Acquires row-level locks on OfflineSyncSpaceNode 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<OfflineSyncSpaceNode> rows, {ColumnSelections<OfflineSyncSpaceNodeTable>? columns, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncSpaceNode>>
Updates all OfflineSyncSpaceNodes 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<OfflineSyncSpaceNodeUpdateTable> columnValues, Transaction? transaction}) → Future<OfflineSyncSpaceNode?>
Updates a single OfflineSyncSpaceNode by its id with the specified columnValues. Returns the updated row or null if no row with the given id exists.
updateRow(DatabaseSession session, OfflineSyncSpaceNode row, {ColumnSelections<OfflineSyncSpaceNodeTable>? columns, Transaction? transaction}) → Future<OfflineSyncSpaceNode>
Updates a single OfflineSyncSpaceNode. 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<OfflineSyncSpaceNodeUpdateTable> columnValues, required WhereExpressionBuilder<OfflineSyncSpaceNodeTable> where, int? limit, int? offset, OrderByBuilder<OfflineSyncSpaceNodeTable>? orderBy, OrderByListBuilder<OfflineSyncSpaceNodeTable>? orderByList, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncSpaceNode>>
Updates all OfflineSyncSpaceNodes matching the where expression with the specified columnValues. Returns the list of updated rows.
upsert(DatabaseSession session, List<OfflineSyncSpaceNode> rows, {required ColumnSelections<OfflineSyncSpaceNodeTable> conflictColumns, ColumnSelections<OfflineSyncSpaceNodeTable>? updateColumns, WhereExpressionBuilder<OfflineSyncSpaceNodeTable>? updateWhere, Transaction? transaction, bool noReturn = false}) → Future<List<OfflineSyncSpaceNode>>
Upserts all OfflineSyncSpaceNodes in the list and returns the resulting rows.
upsertRow(DatabaseSession session, OfflineSyncSpaceNode row, {required ColumnSelections<OfflineSyncSpaceNodeTable> conflictColumns, ColumnSelections<OfflineSyncSpaceNodeTable>? updateColumns, WhereExpressionBuilder<OfflineSyncSpaceNodeTable>? updateWhere, Transaction? transaction}) → Future<OfflineSyncSpaceNode?>
Upserts a single OfflineSyncSpaceNode and returns the resulting row.

Operators

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