insertObjects<T extends ManagedObject> method
Inserts each object in objects
into this context.
If any insertion fails, no objects will be inserted into the database and an exception is thrown.
Implementation
Future<List<T>> insertObjects<T extends ManagedObject>(
List<T> objects,
) async {
return Query<T>(this).insertMany(objects);
}