Метод | Описание | |
---|---|---|
__construct ( array $nodes, string $keyspace = '', array $options = [] ) | ||
applyBatch ( $consistency = ConsistencyEnum::CONSISTENCY_QUORUM ) | Exec transaction | |
beginBatch ( ) | Start transaction | |
beginCounterBatch ( ) | Start counter transaction | |
beginUnloggedBatch ( ) | Start unlogged transaction | |
connect ( ) : boolean | Connect to database | |
disconnect ( ) : boolean | Disconnect to database | |
query ( string $cql, array $values = [], integer $consistency = ConsistencyEnum::CONSISTENCY_QUORUM ) : array | null | Send query into database | |
setKeyspace ( string $keyspace ) |
Метод | Описание | |
---|---|---|
appendQueryToStack ( string $cql, array $values ) |
public applyBatch ( $consistency = ConsistencyEnum::CONSISTENCY_QUORUM ) |
public disconnect ( ) : boolean | ||
Результат | boolean |