PreparedStatement

postgres.ql

An entity for holding a single prepared statement.

Constructor Overview

Constructor Description
PreparedStatement(_preparedStatement)

Function Overview

Function Description
native fun setParam(index, value) Set a parameter in the prepared statement.
native fun close() Close the prepared statement.

Constructors

PreparedStatement(_preparedStatement) link

Functions

native fun setParam(index, value) link

Set a parameter in the prepared statement.

Params
index ( int )

The 1-indexed index of the parameter to set

value

The value to set the parameter to

Returns boolean

If the parameter was set successfully

postgres:postgres.ql
native fun close() link

Close the prepared statement.

Returns boolean

If the prepared statement was closed successfully

postgres:postgres.ql