DR::Tarantool::RealSyncClient3pm
A synchronous driver for tarantool/box <http://tarantool.org>
Usage
my $client = DR::Tarantool::RealSyncClient->connect(port => $tnt->primary_port,spaces => $spaces);if ($client->ping) { .. };my $t = $client->insert(first_space => [ 1, 'val', 2, 'test' ], TNT_FLAG_RETURN);$t = $client->call_lua('luafunc' => [ 0, 0, 1 ], 'space_name');$t = $client->select(space_name => $key);$t = $client->update(space_name => 2 => [ name => set => 'new' ]);$client->delete(space_name => $key);
Overview
The module is a clone of DR::Tarantool::SyncClient but it doesn't use AnyEvent or Coro.
The module uses IO::Socket sockets.
Copyright and license
Copyright (C) 2011 Dmitry E. Oboukhov <[email protected]>Copyright (C) 2011 Roman V. Nikolaev <[email protected]>This program is free software, you can redistribute it and/ormodify it under the terms of the Artistic License.
VCS
The project is placed git repo on github:
<https://github.com/dr-co/dr-tarantool/>.
Releases
3 releases since Debian 8 (Jessie); the text changed 2 times.