Lines Matching refs:this
57 $this->sqlite = $sqlite;
58 $this->sqlitePlugin = $sqlite->getSqlitePlugin();
63 $this->tableName = $tableName;
64 $this->data = $data;
65 return $this;
73 $sqLiteAdapater = $this->sqlitePlugin->getAdapter();
74 $requestType = $this->getRequestType();
77 $statement = $this->getParametrizeReplaceQuery($this->tableName, $this->data);
78 $values = array_values($this->data);
79 $res = $this->executeParametrizedStatement($statement, $values);
80 $queryExecuted = "Upsert of table $this->tableName";
83 $res = $this->sqlitePlugin->query($this->query);
84 $queryExecuted = $this->query;
87 $res = $this->executeParametrizedStatement($this->statement, $this->parameters);
88 $queryExecuted = array_merge([$this->statement], $this->parameters);
93 $res = $sqLiteAdapater->executeQuery($this->statement);
95 $res = $sqLiteAdapater->query($this->statement);
97 $queryExecuted = $this->statement;
109 $message = $this->getErrorMessage();
114 $message = $this->getErrorMessage();
118 $this->result = new SqliteResult($this, $res);
119 return $this->result;
125 $adapter = $this->sqlitePlugin->getAdapter();
151 return $this->sqlite;
158 if ($this->result !== null) {
159 $this->result->close();
160 $this->result = null;
168 $this->query = $string;
169 return $this;
180 $this->statement = $executableSql;
181 $this->parameters = $parameters;
182 return $this;
188 * @return $this - a statement that will execute
193 $this->statement = $statement;
194 return $this;
200 if ($this->data !== null && $this->tableName !== null) {
206 if ($this->query !== null) {
212 if ($this->parameters !== null) {
240 $sqLiteAdapater = $this->sqlitePlugin->getAdapter();