Exemplo n.º 1
0
 /**
  * @expectedException \Fuel\Database\Exception
  */
 public function testNoConnection()
 {
     $query = new Collector\Select();
     $query->getQuery();
 }
Exemplo n.º 2
0
 /**
  * Created a select collector object.
  *
  * @param   mixed  string field name or arrays for alias
  * ....
  * @return  object  select query collector object
  */
 public static function select($column = null)
 {
     $query = new Collector\Select();
     return $query->selectArray(func_get_args());
 }