diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-10 21:41:32 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-10 21:41:32 +0200 |
commit | bfb9a8e58e1a8d613a7eaf0c3422e079abfcacb9 (patch) | |
tree | 985841ed4957413e205a668e99071203325b505f /lib/public | |
parent | c2856c05aa9cbdc3adddea127a8588183647ee0a (diff) | |
parent | e6eb74958fd9779362fbde788cbfac982783abc0 (diff) | |
download | nextcloud-server-bfb9a8e58e1a8d613a7eaf0c3422e079abfcacb9.tar.gz nextcloud-server-bfb9a8e58e1a8d613a7eaf0c3422e079abfcacb9.zip |
Merge pull request #18175 from owncloud/automatic-db-prefix-query-builder
Automatic db prefix query builder
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/db/querybuilder/iquerybuilder.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/db/querybuilder/iquerybuilder.php b/lib/public/db/querybuilder/iquerybuilder.php index 09d5d199bef..3fc07af1a47 100644 --- a/lib/public/db/querybuilder/iquerybuilder.php +++ b/lib/public/db/querybuilder/iquerybuilder.php @@ -27,6 +27,15 @@ namespace OCP\DB\QueryBuilder; */ interface IQueryBuilder { /** + * Enable/disable automatic prefixing of table names with the oc_ prefix + * + * @param bool $enabled If set to true table names will be prefixed with the + * owncloud database prefix automatically. + * @since 8.2.0 + */ + public function automaticTablePrefix($enabled); + + /** * Gets an ExpressionBuilder used for object-oriented construction of query expressions. * This producer method is intended for convenient inline usage. Example: * |