src/Query/Builder.php
public function transaction()
    {
        $transaction_id = Parser::beginTransaction($this->connection);
        $connection = clone $this->connection;
        $connection->transactionId = $transaction_id;
        return new Service($connection);
    }
public function transaction()
    {
        $transaction_id = Parser::beginTransaction($this->connection);
        $connection = clone $this->connection;
        $connection->transactionId = $transaction_id;
        return new Service($connection);
    }
Start transaction.

@return \Clusterpoint\Instance\Service