insertRow method

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

Inserts a single RefreshToken and returns the inserted row.

The returned RefreshToken will have its id field set.

Implementation

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