Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (38 sloc) 973 Bytes
<?php
/**
* Created by JetBrains PhpStorm.
* User: hippsterkiller
* Date: 9/21/12
* Time: 5:09 PM
* To change this template use File | Settings | File Templates.
*/
namespace Application\Task\Couchbase;
class CouchbaseSetMulti extends \Processus\Abstracts\AbstractTask
{
public function run()
{
$cbCli = new \Processus\Lib\Db\CouchbaseClient("bigdata-server:8091", "Administrator", "Administrator", "bigdata");
$data = array(
"foo1:lol1" => "bar1",
"foo2:lol2" => "bar2",
"foo3:lol3" => "bar3",
);
$result = $cbCli->setMulti($data);
var_dump($result);
}
/**
* @return string
*/
protected function _getLogTable()
{
// TODO: Implement _getLogTable() method.
}
/**
* @param $rawObject
* @return array
*/
protected function _getSqlLogParams($rawObject)
{
// TODO: Implement _getSqlLogParams() method.
}
}