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.


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


Name Type Description
id ConstructorProperty undefined | Id64String    
status ConstructorProperty DbResult    

Defined in

Last Updated: 08 January, 2020