protected function __listTables($cache = TRUE) { if ($cache && sizeof($this->tables)) { return $this->tables; } $select = new Select('information_schema.TABLES'); $select->where(array(array('field' => 'TABLE_SCHEMA', 'value' => $this->params['name']))); return $this->tables = $select->execute('\\apf\\db\\mysql5\\Table', $smart = FALSE); }
public function testExecute() { $select = new Select(self::TABLES_QUERY, 'SELECT', self::$sqliteConn); $result = $select->execute(); return $result; }