Lines Matching refs:db
24 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->query($sql, [$new, $old]);
168 $this->db->query($sql, [$old, $new, $old]); // exact match
170 $this->db->query($sql, [$old, $new, "$old#%"]); // match with hashes
173 $this->db->query($sql, [$old, $new, "[\"$old\",%]"]); // match JSON string
175 $this->db->query($sql, [$old, $new, "[\"$old#%\",%]"]); // match JSON string with hash