diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-12-08 18:00:42 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-12-09 17:26:53 +0100 |
commit | 778d8dbafd982a018c7425f660f59c7ecaa97d2b (patch) | |
tree | 725d73330483bc04ceb1c4032b0a440cb1e7d3c6 /lib/public | |
parent | 8af3991d0cf129316b177731686af547fe39a698 (diff) | |
download | nextcloud-server-778d8dbafd982a018c7425f660f59c7ecaa97d2b.tar.gz nextcloud-server-778d8dbafd982a018c7425f660f59c7ecaa97d2b.zip |
Add tableExists to public db api
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/idbconnection.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/public/idbconnection.php b/lib/public/idbconnection.php index bc563d20b42..32310fe755f 100644 --- a/lib/public/idbconnection.php +++ b/lib/public/idbconnection.php @@ -162,7 +162,15 @@ interface IDBConnection { /** * Drop a table from the database if it exists * - * @param string $table + * @param string $table table name without the prefix */ public function dropTable($table); + + /** + * Check if a table exists + * + * @param string $table table name without the prefix + * @return bool + */ + public function tableExists($table); } |