查询数据.get

函数原型

  1. public function get($nNum = null, $bFlag = false);

用法如下:

  1. # SELECT `test`.* FROM `test
  2. Db::table('test')->
  3. get();
  4. # SELECT `test`.* FROM `test` LIMIT 0,5
  5. Db::table('test')->
  6. get(5);