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