insertRow method

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

Inserts a single UserProfileImage and returns the inserted row.

The returned UserProfileImage will have its id field set.

Implementation

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