Home
last modified time | relevance | path

Searched refs:_db (Results 1 – 10 of 10) sorted by relevance

/plugin/strata/driver/
H A Ddriver.php30 var $_db; variable in plugin_strata_driver
143 if($this->_db == false) return false;
203 if($this->_db == false) return false;
207 $error = $this->_db->errorInfo();
223 if($this->_db == false) return false;
229 $res = $this->_db->query($query);
231 $error = $this->_db->errorInfo();
249 if($this->_db == false) return false;
266 if($this->_db == false) return false;
272 return $this->_db->commit();
[all …]
H A Dsqlite.php20 …return $this->_db->query("SELECT count(*) FROM sqlite_master WHERE name = 'data'")->fetchColumn() …
H A Dmysql.php30 return $this->_db->query("SHOW TABLES LIKE 'data'")->rowCount() != 0;
H A Dpgsql.php33 …return $this->_db->query("SELECT * FROM pg_tables WHERE schemaname = 'public' AND tablename = 'dat…
/plugin/sphinxsearch-was/
H A DPageMapper.php11 private $_db = null; variable in PageMapper
38 $this->_db = $db;
43 …$result = $this->_db->query("REPLACE into {$this->_table}(page, page_crc, hid, title, title_text) …
45 " . $this->_db->quote($hid) . ",
46 " . $this->_db->quote($title) . ",
47 " . $this->_db->quote($title_text) . ")");
50 print_r($this->_db->errorInfo());
56 $result = $this->_db->query("select * from {$this->_table}");
63 $result = $this->_db->query($sql);
/plugin/sphinxsearch/
H A DPageMapper.php11 private $_db = null; variable in PageMapper
39 $this->_db = $db;
44 …$result = $this->_db->query("REPLACE into {$this->_table}(page, page_crc, hid, title, title_text) …
46 ".$this->_db->quote($hid).",
47 ".$this->_db->quote($title).",
48 ".$this->_db->quote($title_text).")");
51 print_r($this->_db->errorInfo());
57 $result = $this->_db->query("select * from {$this->_table}");
64 $result = $this->_db->query($sql);
/plugin/freechat/phpfreechat/src/containers/
H A Doracle.class.php51 var $_db = null; variable in pfcContainer_Oracle
141 if (!$this->_db)
152 $this->_db = DB::connect($dsn);
153 if (DB::isError($this->_db))
164 return $this->_db;
187 $res = $this->_db->query($sql_count);
203 $res=$this->_db->query($sql_insert);
309 $res = $this->_db->query($sql_count);
323 $res=$this->_db->query($sql_insert);
335 $res=$this->_db->query($sql_update);
[all …]
H A Dmysql.class.php57 var $_db = null; variable in pfcContainer_Mysql
145 if (!$this->_db)
148 $this->_db = mysql_pconnect($c->container_cfg_mysql_host.':'.$c->container_cfg_mysql_port,
151 mysql_select_db($c->container_cfg_mysql_database, $this->_db);
153 return $this->_db;
/plugin/strata/helper/
H A Dtriples.php66 if(!$this->_db->connect($dsn)) {
71 if(!$this->_db->isInitialized()) {
86 return $this->_db->ci($a);
105 $this->_db->beginTransaction();
112 $this->_db->rollback();
132 $query = $this->_db->prepare($sql);
162 $query = $this->_db->prepare($sql);
204 $this->_db->beginTransaction();
214 $this->_db->rollBack();
221 return $this->_db->commit();
[all …]
/plugin/strata/_test/
H A Dstratatest.inc.php34 $this->_triples->_db->removeDatabase();