tryPrepareStatement Method

Prepare an ECSQL statement.

tryPrepareStatement(sql: string): undefined | ECSqlStatement

@returns undefined if there is a problem preparing the statement.

Parameter Type Description
sql string The ECSQL statement to prepare

Returns - undefined | ECSqlStatement

undefined if there is a problem preparing the statement.

Defined in

Last Updated: 16 April, 2024