public function finish() { if ($this->count == 0) { return; } rawQuery($this->header . implode(",", $this->data)); $this->data = array(); $this->count = 0; }
function query() { $args = func_get_args(); if (is_array($args[0])) { $args = $args[0]; } return rawQuery(parseQuery($args)); }