ECSqlInsertResult Class

The result of an ECSQL INSERT statement as returned from ECSqlStatement.stepForInsert.

If the step was successful, the ECSqlInsertResult contains DbResult.BE_SQLITE_DONE and the ECInstanceId of the newly created instance. In case of failure it contains the DbResult error code.

Insert statements can be used with ECDb only, not with IModelDb.

Methods

Name Description
constructor(status: DbResult, id?: Id64String): ECSqlInsertResult    

Properties

Name Type Description
id ConstructorProperty undefined | Id64String    
status ConstructorProperty DbResult    

Defined in

Last Updated: 13 May, 2019