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.

Field Overview

Field Description
java _preparedStatement

The internal prepared statement. PreparedStatement

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

native fun close() link

Close the prepared statement.

Returns boolean

If the prepared statement was closed successfully