findFirstRow method

Implementation

Future<DatabaseMigrationVersion?> findFirstRow(
  _i1.Session session, {
  _i1.WhereExpressionBuilder<DatabaseMigrationVersionTable>? where,
  int? offset,
  _i1.OrderByBuilder<DatabaseMigrationVersionTable>? orderBy,
  bool orderDescending = false,
  _i1.OrderByListBuilder<DatabaseMigrationVersionTable>? orderByList,
  _i1.Transaction? transaction,
}) async {
  return session.dbNext.findFirstRow<DatabaseMigrationVersion>(
    where: where?.call(DatabaseMigrationVersion.t),
    orderBy: orderBy?.call(DatabaseMigrationVersion.t),
    orderByList: orderByList?.call(DatabaseMigrationVersion.t),
    orderDescending: orderDescending,
    offset: offset,
    transaction: transaction,
  );
}