Cassandra\DatatypeIntegrationTests::insertValue PHP Метод

insertValue() защищенный Метод

Insert a value into table
protected insertValue ( $tableName, $options )
$tableName string
$options Cassandra\ExecutionOptions
    protected function insertValue($tableName, $options)
    {
        $insertQuery = "INSERT INTO {$tableName} (key, value) VALUES (?, ?)";
        $this->session->execute(new SimpleStatement($insertQuery), $options);
    }