hasTable() public method

Determine if the Sql object has a table set
public hasTable ( ) : boolean
return boolean
コード例 #1
0
ファイル: SqlTest.php プロジェクト: nicksagona/PopPHP
 public function testHasTable()
 {
     $s = new Sql(Db::factory('Sqlite', array('database' => __DIR__ . '/../tmp/test.sqlite')), 'users');
     $this->assertTrue($s->hasTable());
 }