insert static method

  1. @Deprecated('Will be removed in 2.0.0. Use: db.insert instead. Important note: In db.insert, the object you pass in is no longer modified, instead a new copy with the added row is returned which contains the inserted id.')
Future<void> insert(
  1. Session session,
  2. MethodInfo row, {
  3. Transaction? transaction,
})

Implementation

@Deprecated(
    'Will be removed in 2.0.0. Use: db.insert instead. Important note: In db.insert, the object you pass in is no longer modified, instead a new copy with the added row is returned which contains the inserted id.')
static Future<void> insert(
  _i1.Session session,
  MethodInfo row, {
  _i1.Transaction? transaction,
}) async {
  return session.db.insert(
    row,
    transaction: transaction,
  );
}