DeNA / HandlerSocket-Plugin-for-MySQL

HandlerSocket is a NoSQL plugin for MySQL, working as a daemon inside the mysqld process, to accept tcp connections, and execute requests from clients. HandlerSocket does not support SQL queries; instead it supports simple CRUD operations on tables.
Other
1.13k stars 150 forks source link

executeMulti All record #89

Open FairPrice opened 11 years ago

FairPrice commented 11 years ago

Example

$retval = $hs->executeMulti( array(array(1, '=', array('k1'), 1, 0), array(1, '=', array('k2'), 1, 0)));

var_dump($retval);

unset($hs);

Bring on the 1st recording, and how to display all the entries ?

array(array(1, '=', array('k1'), -2, 0)

Tried to specify -2 like work, as well as worked -1 but stopped. Someone tell me how to do ?