findById method

Future<DatabaseMigrationVersion?> findById(
  1. DatabaseAccessor databaseAccessor,
  2. int id, {
  3. Transaction? transaction,
})

Implementation

Future<DatabaseMigrationVersion?> findById(
  _i1.DatabaseAccessor databaseAccessor,
  int id, {
  _i1.Transaction? transaction,
}) async {
  return databaseAccessor.db.findById<DatabaseMigrationVersion>(
    id,
    transaction: transaction ?? databaseAccessor.transaction,
  );
}