insertRow method

Future<AuthKey> insertRow(
  1. DatabaseSession session,
  2. AuthKey row, {
  3. Transaction? transaction,
})

Inserts a single AuthKey and returns the inserted row.

The returned AuthKey will have its id field set.

Implementation

Future<AuthKey> insertRow(
  _i1.DatabaseSession session,
  AuthKey row, {
  _i1.Transaction? transaction,
}) async {
  return session.db.insertRow<AuthKey>(
    row,
    transaction: transaction,
  );
}