findFirstRow method

Future<RuntimeSettings?> findFirstRow(
  1. Session session, {
  2. WhereExpressionBuilder<RuntimeSettingsTable>? where,
  3. int? offset,
  4. OrderByBuilder<RuntimeSettingsTable>? orderBy,
  5. bool orderDescending = false,
  6. OrderByListBuilder<RuntimeSettingsTable>? orderByList,
  7. 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,
  );
}