summaryrefslogtreecommitdiffstats
path: root/lib/public/DB/QueryBuilder
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-01-14 12:27:23 +0100
committerGitHub <noreply@github.com>2021-01-14 12:27:23 +0100
commitb9287f9780c6743f0f5e2db84fe32c470cf70b22 (patch)
treec34823626526580de9a9f3b0e1b77e28600b042f /lib/public/DB/QueryBuilder
parent5a141bd1622c3cb3573740e81ce573453121800c (diff)
parent2c9cdc1cdbf900a8578c80075f5ea2da479c4f80 (diff)
downloadnextcloud-server-b9287f9780c6743f0f5e2db84fe32c470cf70b22.tar.gz
nextcloud-server-b9287f9780c6743f0f5e2db84fe32c470cf70b22.zip
Merge pull request #25091 from nextcloud/enhancement/ocp-db-exception-abstraction
Add our own DB exception abstraction
Diffstat (limited to 'lib/public/DB/QueryBuilder')
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index 8fcbd6c3276..24de7b4ce60 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -29,6 +29,7 @@
namespace OCP\DB\QueryBuilder;
use Doctrine\DBAL\Connection;
+use OCP\DB\Exception;
use OCP\DB\IResult;
/**
@@ -154,6 +155,7 @@ interface IQueryBuilder {
* to bridge old code to the new API
*
* @return IResult|int
+ * @throws Exception since 21.0.0
* @since 8.2.0
*/
public function execute();