/** * Get a select object for the current table. * @param null $fields * @return Select */ public function select($fields = null) { $select = new Select($this); if ($fields !== null) { $select->fields($fields); } return $select; }