Interface TableInsertManyResult<PKey>

Represents the result of an insertMany command on a table.

Field

insertedIds - The primary keys of the inserted rows.

Field

insertedCount - The number of inserted rows.

See

Table.insertMany

interface TableInsertManyResult<PKey> {
    insertedCount: number;
    insertedIds: PKey[];
}

Type Parameters

Properties

insertedCount: number

The number of inserted rows (equals insertedIds.length).

insertedIds: PKey[]

The primary keys of the inserted rows.