/** * @depends testselectCS */ public function testselectCL(SequoiaCS $cs) { $cl = $cs->selectCollection("cl_test", '{ ShardingKey:{id:1}, ShardingType:"range", ReplSize:0, Compressed:true }'); $this->assertNotEmpty($cl); $array_option = array("ShardingKey" => array("id" => 1), "ShardingType" => "range", "ReplSize" => 0, "Compressed" => true); $cl2 = $cs->selectCollection("cl_test2", $array_option); $this->assertNotEmpty($cl2); return $cs; }
/** * @depends testselectCS */ public function testselectCL(SequoiaCS $cs) { $cl = $cs->selectCollection("cl_test"); $this->assertNotEmpty($cl); return $cl; }
/** * @depends testselectCS */ public function testselectCL(SequoiaCS $cs) { $cl = $cs->selectCollection('cl_test', '{ReplSize:0}'); $this->assertNotEmpty($cl); return $cl; }