insert method

Inserts all CloudStorageDirectUploadEntrys in the list and returns the inserted rows.

The returned CloudStorageDirectUploadEntrys will have their id fields set.

This is an atomic operation, meaning that if one of the rows fails to insert, none of the rows will be inserted.

Implementation

Future<List<CloudStorageDirectUploadEntry>> insert(
  _i1.Session session,
  List<CloudStorageDirectUploadEntry> rows, {
  _i1.Transaction? transaction,
}) async {
  return session.db.insert<CloudStorageDirectUploadEntry>(
    rows,
    transaction: transaction,
  );
}