aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/QueryBuilder/FunctionBuilderTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Revert "add case statement to sql function builder"Robin Appelman2022-08-161-17/+0
| | | | | | This reverts commit 2a68819a67045d87a369a8a6413f153b3b2bea5f. Signed-off-by: Robin Appelman <robin@icewind.nl>
* add case statement to sql function builderRobin Appelman2022-06-021-0/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Avoid select with no FROM clause for Oracle in testsCôme Chilliet2022-03-241-0/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add octetLength and charLength to function builder, and testsCôme Chilliet2022-03-241-0/+46
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Unit testsVitor Mattos2022-01-071-6/+54
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add a test with integerJoas Schilling2022-01-041-4/+90
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Test with real dataJoas Schilling2022-01-031-7/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add unit testVitor Mattos2022-01-031-7/+33
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add unit test and orderBy parameterVitor Mattos2022-01-031-0/+26
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-14/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Don't leave cursors open when tests failJoas Schilling2020-11-091-14/+56
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #17833 from nextcloud/propagator-no-negative-sizesRoeland Jago Douma2019-12-041-0/+20
|\ | | | | dont set folder size to negative values during propagation
| * add LEAST and GREATER to db function builderRobin Appelman2019-11-261-0/+20
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add MAX and MIN to functionbuilderRobin Appelman2019-09-061-0/+78
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add count to function builderRobin Appelman2018-06-141-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* dont keep shared database locks when running cli scriptsRobin Appelman2018-04-111-0/+21
| | | | | | For cli scripts we don't have the assumption that the universe will be cleaned up soon Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor user searchingRobin Appelman2017-12-201-0/+10
| | | | | | add additional user searching tests Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix querybuilder and functionbuilder testsJoas Schilling2017-08-021-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* rename fun to funcRobin Appelman2017-03-301-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add function builder to the query builderRobin Appelman2017-03-301-0/+74
Signed-off-by: Robin Appelman <robin@icewind.nl>