Simple statements can be executed using a Cassandra\Session instance. They are constructed with a CQL string that can contain positional argument markers ?.

NOTE: Positional argument are only valid for native protocol v2+.

See Also:

Implements

Methods

__construct

( string $cql )

Creates a new simple statement with the provided CQL.

Parameters:
Name Type Details
$cql string

CQL string for this simple statement