summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-01-07 08:46:22 +0100
committerGitHub <noreply@github.com>2022-01-07 08:46:22 +0100
commit064f2615d74cdbe10f0ff56cb45a11066767991f (patch)
treec581eafad733f6d504ae01b3e1fb02ae4588c3b3 /lib/public
parent191d9b7f473841b063ff48f0e2c327e1adb84630 (diff)
parenta61ac5acf5b55747b5383e72d993510f49fd44fe (diff)
downloadnextcloud-server-064f2615d74cdbe10f0ff56cb45a11066767991f.tar.gz
nextcloud-server-064f2615d74cdbe10f0ff56cb45a11066767991f.zip
Merge pull request #29325 from nextcloud/backport/28541/stable21
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/DB/ISchemaWrapper.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/public/DB/ISchemaWrapper.php b/lib/public/DB/ISchemaWrapper.php
index 3d58a10d2d2..85b09aee10e 100644
--- a/lib/public/DB/ISchemaWrapper.php
+++ b/lib/public/DB/ISchemaWrapper.php
@@ -23,6 +23,9 @@
namespace OCP\DB;
+use Doctrine\DBAL\Exception;
+use Doctrine\DBAL\Platforms\AbstractPlatform;
+
/**
* Interface ISchemaWrapper
*
@@ -82,7 +85,7 @@ interface ISchemaWrapper {
* @since 13.0.0
*/
public function getTableNames();
-
+
/**
* Gets all table names
*
@@ -90,4 +93,14 @@ interface ISchemaWrapper {
* @since 13.0.0
*/
public function getTableNamesWithoutPrefix();
+
+ /**
+ * Gets the DatabasePlatform for the database.
+ *
+ * @return AbstractPlatform
+ *
+ * @throws Exception
+ * @since 21.0.8
+ */
+ public function getDatabasePlatform();
}