A statement that has been prepared cluster-side (It has been pre-parsed and cached).

A prepared statement is read-only and it is thread-safe to concurrently bind new statements.

Functions

void

cass_prepared_free

( prepared )

Frees a prepared instance.

Parameters:
Name Type Details
in prepared
CassStatement *

cass_prepared_bind

( prepared )

Creates a bound statement from a pre-prepared statement.

Parameters:
Name Type Details
in prepared

A previously prepared statement.

Returns:
Type Details
CassStatement *

Returns a bound statement that must be freed.

See Also: