Closed zilveer closed 5 years ago
You can find the example in the queue's README. tl;dr:
use Tarantool\Queue\Queue;
use Tarantool\Client\Client;
$client = Client::fromDefaults();
$queue = new Queue($client, 'my-queue-name');
@rybakit
Thank you for the response. Do you mean like this?
use Tarantool\Queue\Queue;
use Tarantool\Client\Client;
$client = Client::fromDefaults();
$queue = new Queue($client->executeUpdate('
CREATE TABLE users ("id" INTEGER PRIMARY KEY AUTOINCREMENT, "email" VARCHAR(255))
'), 'my-queue-name');
Regards
Closed as duplicate of https://github.com/tarantool-php/queue/issues/16.
Hi, I wonder if it is possible to use the Tarantool php-client with the queue system and if so can you please provide an example ?
Regards