summaryrefslogtreecommitdiffstats
path: root/lib/public/DB
Commit message (Collapse)AuthorAgeFilesLines
* add LEAST and GREATER to db function builderRobin Appelman2019-11-261-0/+30
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-223-0/+3
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add count() as shortcut for count('*') in FunctionBuilderRobin Appelman2019-11-131-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* return from QueryBuilder instead of IQueryBuilderRobin Appelman2019-11-131-31/+31
| | | | | | this make the type hints work properly with querybuilder subclasses Signed-off-by: Robin Appelman <robin@icewind.nl>
* add MAX and MIN to functionbuilderRobin Appelman2019-09-061-0/+20
| | | | 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/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* dont keep shared database locks when running cli scriptsRobin Appelman2018-04-111-0/+16
| | | | | | 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>
* Made IExpressionBuilder varadicRoeland Jago Douma2018-03-131-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made orHaving varadicRoeland Jago Douma2018-03-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made addHaving varadicRoeland Jago Douma2018-03-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make having varadicRoeland Jago Douma2018-03-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made addGroupBy varadicRoeland Jago Douma2018-03-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made groupBy varadicRoeland Jago Douma2018-03-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made orWhere varadicRoeland Jago Douma2018-03-131-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made andWhere varadicRoeland Jago Douma2018-03-131-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made where varadicRoeland Jago Douma2018-03-131-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made AddSelect varadicRoeland Jago Douma2018-03-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made select varadicRoeland Jago Douma2018-03-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix PHPDoc for public APIMorris Jobke2018-03-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7419 from Abijeet/feature-7175Morris Jobke2018-03-061-0/+9
|\ | | | | Fixes #7175 - Allow to search for email address in user management
| * refactor user searchingRobin Appelman2017-12-201-0/+9
| | | | | | | | | | | | add additional user searching tests Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-171-0/+92
|/ | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersMorris Jobke2017-11-062-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add a method to compare empty strings with an expressionJoas Schilling2017-08-021-0/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Function also accepts intsLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add sub() to the query function builderRobin Appelman2017-04-121-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* rename fun to funcRobin Appelman2017-03-301-1/+1
| | | | 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-302-0/+80
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add bitwise AND and OR to the expression builderJoas Schilling2017-01-051-0/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-216-13/+19
|
* Update license headersLukas Reschke2016-05-261-0/+1
|
* \OCP\DB to PSR-4 (#24650)Roeland Douma2016-05-176-0/+1371
* Move \OCP\DB to PSR-4 * Fix PHP doc