Searched +full:db +(+path:plugin +path:sqlite) -(+path:plugin +path:sqlite +path:lang) (Results 1 – 12 of 12) sorted by relevance
/plugin/sqlite/ |
H A D | QuerySaver.php | 9 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 D | admin.php | 19 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...] |
H A D | README | 8 PDO supports sqlite3 only, and this plugin will look for db files with extension *.sqlite3
|
H A D | Functions.php | 38 * @link http://devzone.zend.com/article/863-SQLite-Lean-Mean-DB-Machine 61 * @link http://devzone.zend.com/article/863-SQLite-Lean-Mean-DB-Machine
|
H A D | SQLiteDB.php | 82 // schema dir is empty, when accessing the DB from Admin interface instead of plugin context 104 * Do not serialize the DB connection 502 * Get the version this db should have
|
/plugin/sqlite/_test/ |
H A D | SQLiteDBTest.php | 35 $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...] |
H A D | HelperTest.php | 34 if (!$SqliteHelper->init("testdb", DOKU_PLUGIN . "sqlite/_test/db")) {
|
/plugin/blogtng/helper/ |
H A D | sqlite.php | 13 protected $db = null; variable in helper_plugin_blogtng_sqlite 31 if($this->db === null) { 32 $this->db = plugin_load('helper', 'sqlite'); 33 if($this->db === null) { 37 if(!$this->db->init('blogtng', dirname(__FILE__) . '/../db/')) { 38 $this->db = null; 42 return $this->db;
|
/plugin/sql2wiki/action/ |
H A D | sqlite.php | 23 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/db/ |
H A D | update0001.sql | 4 db TEXT NOT NULL, field 7 PRIMARY KEY (db, name)
|
/plugin/combo/ComboStrap/ |
H A D | Sqlite.php | 225 $databaseDir = DOKU_PLUGIN . PluginUtility::PLUGIN_BASE_NAME . "/db/$databaseName"; 251 fwrite(STDERR, "Meta is a subdirectory of the db \n"); 253 fwrite(STDERR, "Meta is a not subdirectory of the db \n"); 318 $db = $adapter->getDb(); 320 $db = $adapter->getPdo(); 322 if ($db === null) { 376 * Null to close the db explanation and bug
|
/plugin/sqlite/helper/ |
H A D | db.php | 35 if (!$this->sqlite->init('sqlite', DOKU_PLUGIN . 'sqlite/db/')) {
|