PluginProbe ʕ •ᴥ•ʔ
JetBackup – Backup, Restore & Migrate / 1.4.9
JetBackup – Backup, Restore & Migrate v1.4.9
3.1.22.3 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.8.1 1.4.9 1.5.0 1.5.1 1.5.1.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.10 1.6.11 1.6.12 1.6.13 1.6.15 1.6.5.1 1.6.8.8 1.6.9 1.6.9.1 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7.5 2.0.8.7 2.0.9.11 2.0.9.14 2.0.9.15 2.0.9.6 2.0.9.7 2.0.9.9 3.1.10.7 3.1.11.1 3.1.12.3 3.1.13.4 3.1.14.17 3.1.15.4 3.1.16.1 3.1.17.5 3.1.18.10 3.1.18.8 3.1.18.9 3.1.19.8 3.1.20.3 3.1.21.3 3.1.7.9 3.1.9.2 trunk 1.1.90 1.1.91 1.2.0 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2
backup / com / core / database / SGIDatabaseAdapter.php
backup / com / core / database Last commit date
SGDatabase.php 5 years ago SGDatabaseAdapterWordpress.php 5 years ago SGIDatabaseAdapter.php 5 years ago
SGIDatabaseAdapter.php
49 lines
1 <?php
2
3 interface SGIDatabaseAdapter
4 {
5 /*
6 The query may contain any of the following placeholders: %s, %d and %f
7 The number of given parameters must be equal to the number of placeholders.
8 This method must return the fetched results if the query is fetchable.
9 */
10 public function query($query, $params=array());
11
12 /*
13 Execute a query and return the statement object.
14 */
15 public function exec($query);
16
17 /*
18 Execute raw query. This function doesn't prepare the query, neither returns a statement object.
19 Perfect for executing fast insert queries without doing cleanup or escaping.
20 Returns true or false.
21 */
22 public function execRaw($query);
23
24 /*
25 Fetch a row from a previously executed query.
26 */
27 public function fetch($st);
28
29 /*
30 Return the last insert id.
31 */
32 public function lastInsertId();
33
34 /*
35 Get the error (if any) generated by the most recent query.
36 */
37 public function getLastError();
38
39 /*
40 Kill cached query results.
41 */
42 public function flush();
43
44 /*
45 Escape value for sql query
46 */
47 public function escapeSql($value);
48 }
49