Inherits

Object

Includes

Methods

cql

Returns original cql used to prepare this statement

Returns:
Type Details
String original cql used to prepare this statement

bind

(args)

Creates a statement bound with specific arguments

Note
Positional arguments are only supported on Apache Cassandra 2.1 and above.
Overloads:
bind(*args)

Creates a statement bound with specific arguments using the deprecated splat-style way of passing positional arguments.

Deprecated
Please pass a single Array of positional arguments, the *args style is deprecated.
Parameters:
Name Type Details
args *Object this style of positional arguments is deprecated, please pass a single Array instead - positional arguments to bind, must contain the same number of parameters as the number of positional argument markers (?) in the CQL passed to Session#prepare.
Parameters:
Name Type Details
args Array positional arguments to bind, must contain the same number of parameters as the number of positional (?) markers in the original CQL passed to Session#prepare
Returns:
Type Details
Statements::Bound bound statement

execution_info

Returns execution info for PREPARE request

Returns:
Type Details
Execution::Info execution info for PREPARE request

inspect

Returns a CLI-friendly prepared statement representation

Returns:
Type Details
String a CLI-friendly prepared statement representation