tarantool-php
tarantool-php copied to clipboard
PECL PHP driver for Tarantool
E.g.: ``` php $t = new Tarantool('unix:///tmp/tnt.sock'); ``` Socket URI format: http://php.net/manual/en/transports.unix.php
Conversion from php-array to lua-table may be little bit tricky. Consider the case: ``` php $data[0] = 'a'; $data[1] = 'b'; $data[2] = 'c'; $tarantool->call('myfunc', [$data]); ``` On lua side...
Hello, i found that readme is incorrect. There are a lot of comments like bool return "False and raises Exception on error". It's impossible to return value and raise the...
``` php $t = new Tarantool(); //var_dump($t->select('space_conn')); $t->authenticate('user_foo', 'foo'); var_dump($t->select('space_conn')); ``` prints `No space 'space_conn' defined` error message, which is wrong as `space_conn` does exist. After uncommenting the second line...
Now that the iproto protocol has sc_schema_id, fix the driver to perform "soft" schema reload. - load the current schema automatically when connection is established - include sc_schema_id in queries...
Please add support batch for multi insert / update / delete / select. For example: `$tnt = Tarantool('localhost', 3301); $tnt->connect(); $batch = $tnt->batch(); $batch->insert(); $batch->update(); $batch->delete(); $batch->select(); $result = $batch->exec();`...
Since libtarantool-c has support of SQL execution please add wrapper to PHP
box.session.push() in 1.10 impements a new iproto command, IPROTO_PUSH. Please add support for it.
When I try to build tarantool-php with clang I get: `php_tarantool.h:32:20: error: a parameter list without types is only allowed in a function definition` The full log can be found...