aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/OC_DB.php
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup tags and Share componentCarl Schwan2022-09-291-184/+0
| | | | | | | | | - Port to LoggerInterface - Use IDBConnection and IQueryBuilder instead of raw SQL and OC_DB - Use IEventListener instead of hooks - Remove the now unused OC_DB and OC_DB_StatementWrapper legacy utils Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Check style updateCarl Schwan2022-01-131-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-6/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Cleanup unneeded code around database.xmlMorris Jobke2021-03-241-50/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-15/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix typo in @deprecated PHPDoc tagMorris Jobke2020-11-241-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Don't throw on SHOW VERSION queryJoas Schilling2020-11-161-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #23922 from nextcloud/bugfix/noid/fix-query-type-detectionMorris Jobke2020-11-061-6/+9
|\ | | | | Improve query type detection
| * Improve query type detectionJoas Schilling2020-11-061-6/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Deprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursorsJoas Schilling2020-11-061-0/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move legacy classes from PSR0 to PSR4Christoph Wurst2020-04-071-0/+246
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>