insertRow method

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

Inserts a single GitHubAccount and returns the inserted row.

The returned GitHubAccount will have its id field set.

Implementation

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