aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/ConnectionAdapter.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #51073 from nextcloud/dbal-exception-queryRobin Appelman2025-03-041-3/+3
|\ | | | | feat: log query for dbal exceptions
| * feat: log query for dbal exceptionsdbal-exception-queryRobin Appelman2025-02-261-3/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(db): add truncateTable methodpulsejet/truncate-1Varun Patil2025-03-021-0/+8
|/ | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* feat: implement distributing partitioned queries over multiple shardsRobin Appelman2024-08-281-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add additional logging for database errorsRobin Appelman2024-07-241-0/+4
| | | | | | including the stack trace of the current database transaction Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(db): Fix md5 for oracle >= 20Joas Schilling2024-07-191-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of ↵Joas Schilling2024-07-191-16/+4
| | | | | | removed upstream platforms Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* enh(db): provide database providers via APIAnna Larch2023-09-191-0/+19
| | | | | | | | | To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the associated constants fixes https://github.com/nextcloud/server/issues/30877 Signed-off-by: Anna Larch <anna@nextcloud.com>
* Cleanup plsam issues in DB/ContactsManager and ConsoleCarl Schwan2023-09-051-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add our own DB exception abstractionChristoph Wurst2021-01-121-22/+96
| | | | | | | | | | | | | | | | | | Right now our API exports the Doctrine/dbal exception. As we've seen with the dbal 3 upgrade, the leakage of 3rdparty types is problematic as a dependency update means lots of work in apps, due to the direct dependency of what Nextcloud ships. This breaks this dependency so that apps only need to depend on our public API. That API can then be vendor (db lib) agnostic and we can work around future deprecations/removals in dbal more easily. Right now the type of exception thrown is transported as "reason". For the more popular types of errors we can extend the new exception class and allow apps to catch specific errors only. Right now they have to catch-check-rethrow. This is not ideal, but better than the dependnecy on dbal. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-0/+172
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>