Skip to content

@142vip.nest typeorm.类.InsertResult

mmdapl edited this page Oct 8, 2026 · 1 revision

API 参考 / @142vip/nest-typeorm / InsertResult

类: InsertResult

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/result/InsertResult.d.ts:6

Result object returned by InsertQueryBuilder execution.

构造函数

构造函数

new InsertResult(): InsertResult

返回

InsertResult

属性

generatedMaps

generatedMaps: ObjectLiteral[]

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/result/InsertResult.d.ts:17

Generated values returned by a database. Has entity-like structure (not just column database name and values).


identifiers

identifiers: ObjectLiteral[]

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/result/InsertResult.d.ts:12

Contains inserted entity id. Has entity-like structure (not just column database name and values).


raw

raw: any

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/result/InsertResult.d.ts:21

Raw SQL result returned by executed query.

方法

from()

static from(queryResult): InsertResult

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/result/InsertResult.d.ts:7

参数

queryResult

QueryResult

返回

InsertResult

Clone this wiki locally