示例#1
0
 /**
  * Fetch a single column of the results from the supplied SQL statement.
  *
  * @param string|\Dewdrop\Db\Select $sql
  * @param array $bind
  * @return array
  */
 public function fetchCol($sql, $bind = array())
 {
     return $this->driver->fetchCol($sql, $bind);
 }