new PreparedStatement(id)
Internal constructor. Use `Connection.prepare` to get a
`PreparedStatement` object.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
String | the internal ID of the prepared statement object. statement object. |
- Source:
Methods
(async) close()
Close the prepared statement.
- Source:
Throws:
-
if the prepared statement is closed.
- Type
- Error
(async) 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