aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/QueryBuilder/FunctionBuilder/FunctionBuilder.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(db): Fix md5 for oracle >= 20Joas Schilling2024-07-191-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-20/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Revert "add case statement to sql function builder"Robin Appelman2022-08-161-11/+0
| | | | | | This reverts commit 2a68819a67045d87a369a8a6413f153b3b2bea5f. Signed-off-by: Robin Appelman <robin@icewind.nl>
* add case statement to sql function builderRobin Appelman2022-06-021-0/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix LENGTH function name across databasesCôme Chilliet2022-03-281-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use OCTET_LENGTH which is more common than LENGTHBCôme Chilliet2022-03-241-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add octetLength and charLength to function builder, and testsCôme Chilliet2022-03-241-0/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Accept multipe args on concatVitor Mattos2022-01-061-2/+7
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add a test with integerJoas Schilling2022-01-041-9/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add unit testVitor Mattos2022-01-031-7/+2
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add unit test and orderBy parameterVitor Mattos2022-01-031-3/+14
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add group_concat aggregator functionVitor Mattos2022-01-031-0/+4
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add types to function builderJoas Schilling2020-11-161-24/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update parametersJoas Schilling2020-11-071-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add LEAST and GREATER to db function builderRobin Appelman2019-11-261-0/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add count() as shortcut for count('*') in FunctionBuilderRobin Appelman2019-11-131-2/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add MAX and MIN to functionbuilderRobin Appelman2019-09-061-0/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use the defined func()->count() instead of manual countingJoas Schilling2018-11-081-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add count to function builderRobin Appelman2018-06-141-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* dont keep shared database locks when running cli scriptsRobin Appelman2018-04-111-0/+8
| | | | | | 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/+4
| | | | | | add additional user searching tests Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add sub() to the query function builderRobin Appelman2017-04-121-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix licence headersRobin Appelman2017-03-301-8/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add function builder to the query builderRobin Appelman2017-03-301-0/+55
Signed-off-by: Robin Appelman <robin@icewind.nl>