findFirstRow method
Future<GoogleRefreshToken?>
findFirstRow(
- Session session, {
- WhereExpressionBuilder<
GoogleRefreshTokenTable> ? where, - int? offset,
- OrderByBuilder<
GoogleRefreshTokenTable> ? orderBy, - bool orderDescending = false,
- OrderByListBuilder<
GoogleRefreshTokenTable> ? orderByList, - Transaction? transaction,
Implementation
Future<GoogleRefreshToken?> findFirstRow(
_i1.Session session, {
_i1.WhereExpressionBuilder<GoogleRefreshTokenTable>? where,
int? offset,
_i1.OrderByBuilder<GoogleRefreshTokenTable>? orderBy,
bool orderDescending = false,
_i1.OrderByListBuilder<GoogleRefreshTokenTable>? orderByList,
_i1.Transaction? transaction,
}) async {
return session.db.findFirstRow<GoogleRefreshToken>(
where: where?.call(GoogleRefreshToken.t),
orderBy: orderBy?.call(GoogleRefreshToken.t),
orderByList: orderByList?.call(GoogleRefreshToken.t),
orderDescending: orderDescending,
offset: offset,
transaction: transaction ?? session.transaction,
);
}