GoogleRefreshTokenRepository 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(Session session, {WhereExpressionBuilder<GoogleRefreshTokenTable>? 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(Session session, List<GoogleRefreshToken> rows, {Transaction? transaction}) Future<List<GoogleRefreshToken>>
Deletes all GoogleRefreshTokens in the list and returns the deleted rows. This is an atomic operation, meaning that if one of the rows fail to be deleted, none of the rows will be deleted.
deleteRow(Session session, GoogleRefreshToken row, {Transaction? transaction}) Future<GoogleRefreshToken>
Deletes a single GoogleRefreshToken.
deleteWhere(Session session, {required WhereExpressionBuilder<GoogleRefreshTokenTable> where, Transaction? transaction}) Future<List<GoogleRefreshToken>>
Deletes all rows matching the where expression.
find(Session session, {WhereExpressionBuilder<GoogleRefreshTokenTable>? where, int? limit, int? offset, OrderByBuilder<GoogleRefreshTokenTable>? orderBy, bool orderDescending = false, OrderByListBuilder<GoogleRefreshTokenTable>? orderByList, Transaction? transaction}) Future<List<GoogleRefreshToken>>
Returns a list of GoogleRefreshTokens matching the given query parameters.
findById(Session session, int id, {Transaction? transaction}) Future<GoogleRefreshToken?>
Finds a single GoogleRefreshToken by its id or null if no such row exists.
findFirstRow(Session session, {WhereExpressionBuilder<GoogleRefreshTokenTable>? where, int? offset, OrderByBuilder<GoogleRefreshTokenTable>? orderBy, bool orderDescending = false, OrderByListBuilder<GoogleRefreshTokenTable>? orderByList, Transaction? transaction}) Future<GoogleRefreshToken?>
Returns the first matching GoogleRefreshToken matching the given query parameters.
insert(Session session, List<GoogleRefreshToken> rows, {Transaction? transaction}) Future<List<GoogleRefreshToken>>
Inserts all GoogleRefreshTokens in the list and returns the inserted rows.
insertRow(Session session, GoogleRefreshToken row, {Transaction? transaction}) Future<GoogleRefreshToken>
Inserts a single GoogleRefreshToken and returns the inserted row.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(Session session, List<GoogleRefreshToken> rows, {ColumnSelections<GoogleRefreshTokenTable>? columns, Transaction? transaction}) Future<List<GoogleRefreshToken>>
Updates all GoogleRefreshTokens 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.
updateRow(Session session, GoogleRefreshToken row, {ColumnSelections<GoogleRefreshTokenTable>? columns, Transaction? transaction}) Future<GoogleRefreshToken>
Updates a single GoogleRefreshToken. 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.

Operators

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