dels() public method

删除一条数据包含多个参数
public dels ( $params ) : boolean
$params
return boolean
Example #1
0
 function delete($key)
 {
     $gets['sid'] = $this->shard_id;
     $gets['limit'] = 1;
     $gets['ckey'] = $key;
     $this->model->dels($gets);
 }