insertObject<T extends ManagedObject> method

Future<T> insertObject <T extends ManagedObject>(ManagedContext context, T object)

Inserts a single object into the database managed by context.

This is equivalent to creating a Query, assigning object to values, and invoking insert.

Implementation

static Future<T> insertObject<T extends ManagedObject>(
    ManagedContext context, T object) {
  return context.insertObject(object);
}