final class SimpleStatement implements Statement (View source)

Simple statements can be executed using a 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+.

Methods

__construct(string $cql)

Creates a new simple statement with the provided CQL.

Details

__construct(string $cql)

Creates a new simple statement with the provided CQL.

Parameters

string $cql

CQL string for this simple statement