Home
last modified time | relevance | path

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

12345678910>>...60

/dports/comms/pear-Horde_SyncMl/Horde_SyncMl-2.0.7/lib/Horde/SyncMl/Backend/
H A DSql.php79 protected $_db; variable in Horde_SyncMl_Backend_Sql
309 $r = $this->_db->exec(
357 $r = $this->_db->exec(
514 $r = $this->_db->exec(
764 $r = $this->_db->exec(
776 $r = $this->_db->exec(
800 $this->_db->disconnect();
962 $r = $this->_db->exec(
989 $this->_db->disconnect();
1025 $r = $this->_db->exec(
[all …]
/dports/www/joomla3/joomla3-3.9.24/libraries/src/Table/
H A DUser.php86 $this->_db->setQuery($query);
271 ->where($this->_db->quoteName('username') . ' = ' . $this->_db->quote($rootUser));
358 $this->_db->execute();
377 $this->_db->execute();
391 $this->_db->execute();
421 $this->_db->execute();
428 $this->_db->execute();
438 $this->_db->execute();
444 $this->_db->execute();
450 $this->_db->execute();
[all …]
H A DMenuType.php63 ->where($this->_db->quoteName('menutype') . ' = ' . $this->_db->quote($this->menutype))
65 $this->_db->setQuery($query);
67 if ($this->_db->loadResult())
107 $this->_db->setQuery($query);
126 $this->_db->setQuery($query);
142 $this->_db->setQuery($query);
143 $this->_db->execute();
154 $this->_db->setQuery($query);
155 $this->_db->execute();
222 $this->_db->execute();
[all …]
H A DTable.php63 protected $_db; variable in Joomla\\CMS\\Table\\Table
161 $this->_db = $db;
450 $query->where($this->_db->quoteName($k) . ' = ' . $this->_db->quote($pk->$k));
505 return $this->_db;
519 $this->_db = $db;
1009 $this->_db->execute();
1077 $this->_db->execute();
1137 …->set($this->_db->quoteName($checkedOutTimeField) . ' = ' . $this->_db->quote($this->_db->getNullD…
1142 $this->_db->execute();
1245 $this->_db->execute();
[all …]
/dports/www/joomla3/joomla3-3.9.24/libraries/legacy/table/
H A Dsession.php110 $query = $this->_db->getQuery(true)
112 ->where($this->_db->quoteName('userid') . ' = ' . $this->_db->quote($userId))
114 $this->_db->setQuery($query);
116 if (!$this->_db->execute())
142 $this->_db->setQuery($query);
144 return $this->_db->execute();
162 ->where($this->_db->quoteName('userid') . ' = ' . $this->_db->quote($userid));
163 $this->_db->setQuery($query);
198 ->where($this->_db->quoteName($this->_tbl_key) . ' = ' . $this->_db->quote($this->$k));
199 $this->_db->setQuery($query);
[all …]
/dports/www/Stikked/Stikked-0.13.0/htdocs/system/libraries/Session/drivers/
H A DSession_database_driver.php56 protected $_db; variable in CI_Session_database_driver
86 $this->_db = $CI->db;
92 elseif ($this->_db->pconnect)
101 $db_driver = $this->_db->dbdriver.(empty($this->_db->subdriver) ? '' : '_'.$this->_db->subdriver);
131 if (empty($this->_db->conn_id) && ! $this->_db->db_connect())
156 $this->_db->reset_query();
161 $this->_db
211 $this->_db->reset_query();
302 $this->_db->reset_query();
338 $this->_db->reset_query();
[all …]
/dports/www/codeigniter/CodeIgniter-3.1.11/system/libraries/Session/drivers/
H A DSession_database_driver.php56 protected $_db; variable in CI_Session_database_driver
86 $this->_db = $CI->db;
92 elseif ($this->_db->pconnect)
101 $db_driver = $this->_db->dbdriver.(empty($this->_db->subdriver) ? '' : '_'.$this->_db->subdriver);
131 if (empty($this->_db->conn_id) && ! $this->_db->db_connect())
159 $this->_db->reset_query();
164 $this->_db
210 $this->_db->reset_query();
301 $this->_db->reset_query();
337 $this->_db->reset_query();
[all …]
/dports/misc/tvm/incubator-tvm-0.6.1/tests/python/unittest/
H A Dtest_autotvm_database.py34 _db.flush()
35 _db.save(inp1, res1)
36 _db.save(inp2, res2)
38 load1 = _db.load(inp1)
39 load2 = _db.load(inp2)
40 load3 = _db.load(inp3)
60 _db.flush()
64 load1 = _db.load(inp1)
65 load2 = _db.load(inp2)
86 _db.flush()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/unittest/
H A Dtest_autotvm_database.py35 _db.flush()
36 _db.save(inp1, res1)
37 _db.save(inp2, res2)
39 load1 = _db.load(inp1)
40 load2 = _db.load(inp2)
41 load3 = _db.load(inp3)
63 _db.flush()
67 load1 = _db.load(inp1)
68 load2 = _db.load(inp2)
90 _db.flush()
[all …]
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/python/unittest/
H A Dtest_autotvm_database.py34 _db.flush()
35 _db.save(inp1, res1)
36 _db.save(inp2, res2)
38 load1 = _db.load(inp1)
39 load2 = _db.load(inp2)
40 load3 = _db.load(inp3)
60 _db.flush()
64 load1 = _db.load(inp1)
65 load2 = _db.load(inp2)
86 _db.flush()
[all …]
/dports/devel/py-apptools/apptools-4.5.0/apptools/permissions/default/
H A Duser_storage.py40 _db = Instance(Persistent) variable in UserStorage
49 self._db.lock()
60 self._db.unlock()
81 self._db.lock()
93 self._db.unlock()
113 self._db.lock()
126 self._db.unlock()
131 self._db.lock()
144 self._db.unlock()
155 self._db.lock()
[all …]
/dports/www/pear-HTTP_FloodControl/HTTP_FloodControl-0.1.1/FloodControl/Container/
H A DMDB.php75 protected $_db = null; variable in HTTP_FloodControl_Container_MDB
128 $this->_db = MDB::connect($dsn);
130 $this->_db = $dsn;
134 if (PEAR::isError($this->_db)) {
135 throw new HTTP_FloodControl_Exception($this->_db->getMessage(), $this->_db->getCode());
178 $this->_db->autoCommit(false);
182 $result = $this->_db->query($query);
191 $result = $this->_db->query($query);
193 $this->_db->rollback();
196 $this->_db->commit();
[all …]
H A DMDB2.php75 protected $_db = null; variable in HTTP_FloodControl_Container_MDB2
130 $this->_db = $dsn;
134 if (PEAR::isError($this->_db)) {
135 throw new HTTP_FloodControl_Exception($this->_db->getMessage(), $this->_db->getCode());
178 $this->_db->beginTransaction();
182 $result = $this->_db->exec($query);
191 $result = $this->_db->exec($query);
193 $this->_db->rollback();
196 $this->_db->commit();
219 $result = $this->_db->exec($query);
[all …]
H A DDB.php75 protected $_db = null; variable in HTTP_FloodControl_Container_DB
128 $this->_db = DB::connect($dsn);
130 $this->_db = $dsn;
134 if (PEAR::isError($this->_db)) {
135 throw new HTTP_FloodControl_Exception($this->_db->getMessage(), $this->_db->getCode());
178 $this->_db->autoCommit(false);
182 $result = $this->_db->query($query);
191 $result = $this->_db->query($query);
193 $this->_db->rollback();
196 $this->_db->commit();
[all …]
/dports/devel/horde-whups/whups-3.0.12/lib/Driver/
H A DSql.php22 protected $_db; variable in Whups_Driver_Sql
78 $this->_db = $storage;
393 $this->_db->update(
456 $this->_db->update(
476 $this->_db->insert(
496 $this->_db->delete(
1338 $this->_db->delete(
1341 $this->_db->delete(
1555 $this->_db->delete(
1738 $this->_db->delete(
[all …]
/dports/www/pear-Horde_SessionHandler/Horde_SessionHandler-2.2.9/lib/Horde/SessionHandler/Storage/
H A DSql.php37 protected $_db; variable in Horde_SessionHandler_Storage_Sql
56 $this->_db = $params['db'];
76 if ($this->_db->transactionStarted()) {
93 $this->_db->beginDbTransaction();
115 if (!$this->_db->isActive()) {
116 $this->_db->reconnect();
117 $this->_db->beginDbTransaction();
122 $exists = $this->_db->selectValue(
137 $this->_db->updateBlob(
143 $this->_db->insertBlob(
[all …]
/dports/www/joomla3/joomla3-3.9.24/libraries/src/Cache/Storage/
H A DMemcachedStorage.php31 protected static $_db = null; variable in Joomla\\CMS\\Cache\\Storage\\MemcachedStorage
54 if (static::$_db === null)
89 static::$_db->resetServerList();
95 static::$_db->addServer($host, $port);
100 static::$_db = new \Memcached;
101 static::$_db->addServer($host, $port);
106 $stats = static::$_db->getStats();
112 static::$_db = null;
300 return static::$_db->delete($cache_id);
333 static::$_db->delete($value->name);
[all …]
/dports/databases/pear-DB_Table/DB_Table-1.5.6/DB/Table/Manager/
H A Doci8.php85 var $_db = null; variable in DB_Table_Manager_oci8
99 $indexes = $this->_db->getCol($query);
125 $constraints = $this->_db->getCol($query);
164 $result = $this->_db->query($query);
194 $dsn = DB::parseDSN($this->_db->dsn);
198 $table = $this->_db->quoteSmart($table);
200 $result = $this->_db->query($query);
216 $colres = $this->_db->query($query);
240 $name = $this->_db->quoteIdentifier($name);
256 $name = $this->_db->quoteIdentifier($name);
[all …]
H A Dpgsql.php84 var $_db = null; variable in DB_Table_Manager_pgsql
99 $indexes = $this->_db->getCol($query);
126 $constraints = $this->_db->getCol($query);
216 $table = $this->_db->quoteIdentifier($table);
217 $result2 = $this->_db->query("SELECT * FROM $table");
242 $name = $this->_db->quoteIdentifier($name);
243 return $this->_db->query("DROP INDEX $name");
257 $table = $this->_db->quoteIdentifier($table);
258 $name = $this->_db->quoteIdentifier($name);
419 …$result = $this->_db->query("ALTER TABLE $name RENAME COLUMN $field_name TO ".$this->_db->quoteIde…
[all …]
/dports/www/horde-wicked/wicked-2.0.8/lib/Driver/
H A DSql.php33 protected $_db; variable in Wicked_Driver_Sql
52 $this->_db = $params['db'];
469 $this->_db->delete(
649 $this->_db->update(
655 $this->_db->update(
692 $this->_db->insert(
699 $this->_db->update(
777 $this->_db->update(
791 $this->_db->delete(
814 $this->_db->delete(
[all …]
/dports/sysutils/tarsnap-gui/tarsnap-gui-1.0.2/src/persistentmodel/
H A Dpersistentstore.cpp31 _db = _db.addDatabase("QSQLITE", "tarsnap"); in init()
33 _db.setDatabaseName(dbUrl); in init()
47 else if(!_db.open()) in init()
60 _db.close(); in init()
137 if(!_db.open()) in init()
153 _db.close(); in deinit()
219 QSqlQuery query(_db); in upgradeVersion0()
235 QSqlQuery query(_db); in upgradeVersion1()
256 QSqlQuery query(_db); in upgradeVersion2()
273 QSqlQuery query(_db); in upgradeVersion3()
[all …]
/dports/deskutils/owncloudclient/ownCloud-2.8.2.4246/test/
H A Dtestsyncjournaldb.cpp24 : _db((_tempDir.path() + "/sync.db")) in TestSyncJournalDB()
63 QVERIFY(_db.setFileRecord(record)); in testFileRecord()
84 _db.setFileRecord(record); in testFileRecord()
141 _db.setDownloadInfo("foo", record); in testDownloadInfo()
146 _db.setDownloadInfo("foo", Info()); in testDownloadInfo()
163 _db.setUploadInfo("foo", record); in testUploadInfo()
168 _db.setUploadInfo("foo", Info()); in testUploadInfo()
200 _db.setConflictRecord(record); in testConflictRecord()
221 _db.setFileRecord(record); in testAvoidReadFromDbOnNextSync()
285 _db.setFileRecord(record); in testRecursiveDelete()
[all …]
/dports/deskutils/nextcloudclient/desktop-3.4.1/test/
H A Dtestsyncjournaldb.cpp24 : _db((_tempDir.path() + "/sync.db")) in TestSyncJournalDB()
63 QVERIFY(_db.setFileRecord(record)); in testFileRecord()
84 _db.setFileRecord(record); in testFileRecord()
141 _db.setDownloadInfo("foo", record); in testDownloadInfo()
146 _db.setDownloadInfo("foo", Info()); in testDownloadInfo()
163 _db.setUploadInfo("foo", record); in testUploadInfo()
168 _db.setUploadInfo("foo", Info()); in testUploadInfo()
196 _db.setConflictRecord(record); in testConflictRecord()
218 _db.setFileRecord(record); in testAvoidReadFromDbOnNextSync()
280 _db.setFileRecord(record); in testRecursiveDelete()
[all …]
/dports/science/gramps/gramps-5.1.4/gramps/plugins/db/bsddb/test/
H A Dgrampsdbtestbase.py41 self._db = make_database("bsddb")
42 self._db.load(dirpath, None)
45 self._db.close()
98 self._db.add_source(source, tran)
99 self._db.commit_source(source, tran)
102 self._db.add_citation(citation, tran)
103 self._db.commit_citation(citation, tran)
110 with DbTxn("Add Repository", self._db) as tran:
112 self._db.add_repository(repos, tran)
113 self._db.commit_repository(repos, tran)
[all …]
/dports/security/pear-Horde_Group/Horde_Group-2.1.1/lib/Horde/Group/
H A DSql.php31 protected $_db; variable in Horde_Group_Sql
43 $this->_db = $params['db'];
68 return $this->_db->insert(
87 return $this->_db->update(
105 $this->_db->beginDbTransaction();
106 $this->_db->delete(
109 $this->_db->delete(
148 return $this->_db->selectValue(
168 $result = $this->_db->selectOne(
278 $this->_db->insert(
[all …]

12345678910>>...60