Home
last modified time | relevance | path

Searched refs:db (Results 151 – 175 of 189) sorted by path

12345678

/plugin/sphinxsearch/
H A DPageMapper.php23 if (false != ($db = new PDO("sqlite:".$this->_dbpath))) {
24 $q = @$db->query("SELECT 1 FROM {$this->_table} limit 1");
26 …$result = $db->query("CREATE TABLE {$this->_table} ( page varchar(1024), page_crc int(11), hid var…
29 print_r($db->errorInfo());
36 print_r($db->errorInfo());
39 $this->_db = $db;
/plugin/sql/
H A DDB.php96 function mysql_select_db($db) { argument
100 $DSN['database'] = $db;
H A Dsyntax.php119 $db =& DB::connect($data['urn']);
125 array_push($this->databases, $db);
128 $db =& array_pop($this->databases);
129 if (!empty($db)) {
132 $result =& $db->getAll($query);
/plugin/sql2wiki/action/
H A Dsqlite.php23 protected function queue_put($db, $query_name='') { argument
24 if (!isset($this->queue[$db])) {
25 $this->queue[$db] = [];
29 $this->queue[$db] = true;
32 if (is_array($this->queue[$db])) {
33 $this->queue[$db][$query_name] = true;
41 $db = $query['db'];
43 return isset($queue[$db]) && ($queue[$db]
[all...]
/plugin/sqlite/
H A DQuerySaver.php9 protected $db;
17 $this->db = new SQLiteDB('sqlite', DOKU_PLUGIN . 'sqlite/db/');
30 'sqlitedb' => $this->db,
37 $sql = 'INSERT INTO queries (db, name, sql) VALUES (?, ?, ?)';
38 $this->db->exec($sql, [$this->upstream, $name, $query]);
51 $sql = 'SELECT sql FROM queries WHERE db = ? AND name = ?';
52 return $this->db->queryValue($sql, [$this->upstream, $name]);
63 'sqlitedb' => $this->db,
69 $sql = 'DELETE FROM queries WHERE db
10 protected $db; global() variable in dokuwiki\\plugin\\sqlite\\QuerySaver
[all...]
H A DREADME8 PDO supports sqlite3 only, and this plugin will look for db files with extension *.sqlite3
H A Dadmin.php19 protected $db;
43 if ($INPUT->str('db') && checkSecurityToken()) {
45 $this->db = new SQLiteDB($INPUT->str('db'), '');
46 $this->querySaver = new QuerySaver($this->db->getDBName());
56 $exportfile = $conf['tmpdir'] . '/' . $this->db->getDbName() . '.sql';
57 $this->db->dumpToFile($exportfile);
59 header('Content-Disposition: attachment; filename="' . $this->db->getDbName() . '.sql";');
73 $this->db->getPdo()->beginTransaction();
75 $this->db
18 protected $db = null; global() variable in admin_plugin_sqlite
[all...]
/plugin/sqlite/_test/
H A DSQLiteDBTest.php35 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
36 $this->assertInstanceOf(\PDO::class, $db->getPdo());
41 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
44 $stmt = $db->query($sql, ['music']);
53 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
57 $result = $db->queryRecord($sql, ['one', 'two', 'three']);
60 $result = $db
[all...]
/plugin/sqlite/db/
H A Dupdate0001.sql4 db TEXT NOT NULL, field
7 PRIMARY KEY (db, name)
/plugin/sqlraw/
H A Dsyntax.php100 global $db;
145 $db =& DB::connect($tempdb);
146 if (DB::isError($db)) {
147 $error = $db->getMessage();
169 if (!empty($db)) {
185 if (!empty($db)) {
188 $result =& $db->getAll($query);
192 $db->disconnect();
765 $db->disconnect();
785 global $db;
[all …]
/plugin/starred/
H A Dhelper.php16 protected $db; variable in helper_plugin_starred
25 if($this->db !== null) return $this->db;
29 return $this->db;
48 $db = $this->getDB();
49 if (!$db) return;
61 $db->exec($sql, [$pageid, $user]);
65 $db->exec($sql, [$pageid, $user, time()]);
82 $db = $this->getDB();
83 if (!$db) return false;
106 $db = $this->getDB();
[all …]
/plugin/stopforumspam/
H A Daction.php15 private $db = 0; variable in action_plugin_stopforumspam
/plugin/struct/action/
H A Dcache.php81 /** @var helper_plugin_struct_db $db */
82 $db = plugin_load('helper', 'struct_db');
84 $sqlite = $db->getDB(false);
H A Dmove.php24 protected $db;
49 $this->db = $hlp->getDB(false);
50 if (!$this->db instanceof SQLiteDB) return false;
55 $this->db->query('BEGIN TRANSACTION');
82 $ok = $this->db->query('COMMIT TRANSACTION');
84 $this->db->query('ROLLBACK TRANSACTION');
104 $this->db->query($sql, [$new, $old]);
108 $this->db->query($sql, [$new, $old]);
122 $this->db->query($sql, [$new, $old]);
137 $this->db
20 protected $db = null; global() variable in action_plugin_struct_move
[all...]
/plugin/struct/meta/
H A DCSVImporter.php57 /** @var \helper_plugin_struct_db $db */
58 $db = plugin_load('helper', 'struct_db');
59 $this->sqlite = $db->getDB(true);
H A DSchema.php173 $db = $helper->getDB(false);
174 if (!$db instanceof SQLiteDB) return [];
176 $tables = $db->queryAll("SELECT DISTINCT tbl FROM schemas ORDER BY tbl");
/plugin/structsection/
H A Dyarn.lock2027 mime-db@1.44.0:
2029 …resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10…
2037 mime-db "1.44.0"
/plugin/tablelayout/
H A Dyarn.lock257 caniuse-db@^1.0.30000794:
259 …resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000830.tgz#6e45255b345649fd15…
593 caniuse-db "^1.0.30000794"
1605 mime-db@~1.33.0:
1607 …resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788…
1613 mime-db "~1.33.0"
/plugin/tagging/
H A Dhelper.php20 static $db = null;
21 if ($db !== null) {
22 return $db;
25 /** @var helper_plugin_sqlite $db */
26 $db = plugin_load('helper', 'sqlite');
27 if ($db === null) {
32 $db->init('tagging', __DIR__ . '/db/');
33 $db->create_function('CLEANTAG', array($this, 'cleanTag'), 1);
34 $db
[all...]
/plugin/timetrack/
H A Dhelper.php26 protected $db = null; variable in helper_plugin_timetrack
44 if($this->db === null) {
45 $this->db = plugin_load('helper', 'sqlite');
46 if($this->db === null) {
50 if(!$this->db->init('timetrack', dirname(__FILE__) . '/db/')) {
51 $this->db = null;
56 return $this->db;
/plugin/xlsx2dw/packages/exceljs/
H A Dexceljs.js70910 var db = xor(maskedDb, mgf(seed, k - hLen - 1));
70912 if (compare(iHash, db.slice(0, hLen))) {
70918 while (db[i] === 0) {
70922 if (db[i++] !== 1) {
70926 return db.slice(i);
/plugin/xlsx2dw/packages/xmltojson/
H A Dxmltojson.js344 function Ji(a){return Lc(a,4)&&!Fc(a,4).T()?Zl(Fc(Fc(a,4).Y().Q().db(),8).ib()):''}
345 function Ki(a){return Lc(a,4)&&!Fc(a,4).T()?Fc(Fc(a,4).Y().Q().db(),8).jb():null}
351 function hf(a){var b;if(Lc(a,6)){return a}b=a&&a[Rs];if(!b){b=new db(a);Fb(b)}return b}
376 function Yn(a,b){var c,d;qs(b);for(d=b.Q();d.cb();){c=d.db();if(!a.S(c)){return false}}return true}
377 function ho(a,b){var c,d;qs(b);for(d=b.Y().Q();d.cb();){c=Fc(d.db(),8);lr(a,c.ib(),c.jb())}}
378 function Vp(a){Up();var b,c,d;d=0;for(c=a.Q();c.cb();){b=c.db();d=d+(b!=null?O(b):0);d=d|0}return d}
388 function Wp(a){Up();var b,c,d;d=1;for(c=a.Q();c.cb();){b=c.db();d=31*d+(b!=null?O(b):0);d=d|0}retur…
403 function db(a){bb();Q(this);this.e=a;a!=null&&zs(a,Rs,this);this.g=a==null?Ws:Pf(a);this.a='';this.… class
408 function Xn(a,b){var c,d;for(d=a.Q();d.cb();){c=d.db();if(Sc(b)===Sc(c)||b!=null&&K(b,c)){return tr…
567db(),8).ib()):'','-')||Lc(!!d&&!d.T()?Fc(d.Y().Q().db(),8).jb():null,13)?Ll(ft,!!d&&!d.T()?Zl(Fc(d…
[all …]
/plugin/yuriigantt/3rd/dhtmlxgantt/
H A Ddhtmlxgantt.css1 …und-color:#3498db}.gantt_grid_dnd_marker_line:before{background:#fff;width:12px;height:12px;box-si…
H A Ddhtmlxgantt.js.map1 …s\");\n\n\t\t\t// not send delete request if item is not inserted into the db - just remove it fro…
/plugin/yuriigantt/3rd/dhtmlxgantt/skins/
H A Ddhtmlxgantt_broadway.css1 …und-color:#3498db}.gantt_grid_dnd_marker_line:before{background:#fff;width:12px;height:12px;box-si…

12345678