Method SqlStatement():build() Foundation

Builds the final statement.

Syntax
:build() -> self
Description

This method builds a final SQL statement which is ready for execution. Among other things, the build operation extracts the parameter values from the member variables of the SQL statement object, and inserts them into the SQL statement.

:build() always needs to be executed prior to calling the methods :asString(), :query()or :execute(). If the build operation fails, a runtime error is generated with details about the reason for the failure.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.