Lines Matching refs:args
159 * @param string ...$args - the arguments of query(), the first is the sql and others are values
161 public function query(...$args)
167 $sql = $this->prepareSql($args);
180 * @param array $args
187 public function prepareSql($args)
190 $sql = trim(array_shift($args));
197 $argc = count($args);
198 if ($argc > 0 && is_array($args[0])) {
199 $args = $args[0];
200 $argc = count($args);
215 $args = array_map([$this->adapter->getPdo(), 'quote'], $args);
220 $sql .= array_shift($args);