aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/QueryBuilder
Commit message (Collapse)AuthorAgeFilesLines
...
* Make having varadicRoeland Jago Douma2018-03-131-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made addGroupBy varadicRoeland Jago Douma2018-03-131-3/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made groupBy varadicRoeland Jago Douma2018-03-131-3/+5
| | | | 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-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made where varadicRoeland Jago Douma2018-03-131-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made AddSelect varadicRoeland Jago Douma2018-03-131-3/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Made select varadicRoeland Jago Douma2018-03-131-3/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* reuse query builderRobin Appelman2018-01-123-10/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor user searchingRobin Appelman2017-12-203-3/+14
| | | | | | add additional user searching tests Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-067-0/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add a method to compare empty strings with an expressionJoas Schilling2017-08-022-0/+45
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix ILIKE regex for oracleJoas Schilling2017-08-021-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Quote aliases as wellJoas Schilling2017-08-022-10/+24
| | | | 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 brackets around concat statements so comparing the result works as intendedJoas Schilling2017-07-282-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unused use statementsMorris Jobke2017-04-221-6/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4331 from nextcloud/query-builder-sumMorris Jobke2017-04-121-0/+4
|\ | | | | Add sum() to the query function builder
| * Add sub() to the query function builderRobin Appelman2017-04-121-0/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #4146 from nextcloud/unread-comments-folderMorris Jobke2017-04-101-1/+1
|\ \ | |/ |/| Allow getting the unread comment count for an entire folder at once
| * Allow getting the unread comment count for an entire folder at onceRobin Appelman2017-03-301-1/+1
| | | | | | | | 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-305-40/+45
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add function builder to the query builderRobin Appelman2017-03-305-0/+172
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add support for escaping like parameters when using the query builderRobin Appelman2017-03-303-0/+50
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add bitwise AND and OR to the expression builderJoas Schilling2017-01-051-1/+37
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow aliasing columns when using the query builderRobin Appelman2016-11-171-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Inject config and loggerJoas Schilling2016-11-021-5/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Log the queries of the QueryBuilder as wellJoas Schilling2016-11-021-0/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix like queries in the QueryBuilderJoas Schilling2016-10-191-3/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update with robinJoas Schilling2016-07-213-3/+3
|
* Fix othersJoas Schilling2016-07-2110-20/+30
|
* Move \OC\DB to PSR-4Roeland Jago Douma2016-04-1510-0/+2040
Besides the statement wrapper that is moved to the legacy folder (namepsace of shame folder)