Class: PreparedStatement

PreparedStatement(connection, preparedStatement)

new PreparedStatement(connection, preparedStatement)

Internal constructor. Use `Connection.prepare` to get a `PreparedStatement` object.
Parameters:
Name Type Description
connection Connection the connection object.
preparedStatement KuzuNative.NodePreparedStatement the native prepared statement object.
Source:

Methods

getErrorMessage() → {String}

Get the error message if the prepared statement is not successfully prepared.
Source:
Returns:
the error message.
Type
String

isSuccess() → {Boolean}

Check if the prepared statement is successfully prepared.
Source:
Returns:
true if the prepared statement is successfully prepared.
Type
Boolean