insert static method
- @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(
- Session session,
- MethodInfo row, {
- 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,
);
}