isNative()

variable.IsNative()

This method is used with a variable of the PREPARED data type. It verifies whether the SQL statement has been prepared natively. You need to initialize the variable using the Prepare() statement first which defines whether the statement should be prepared natively or not.

Usage

This method accepts no parameters and returns TRUE (or 1), if the statement was prepared natively, bypassing the SQL translator.

An example method call:

CALL prep_v.IsNative() RETURNING native