aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(db): Deprecate `IExpressionBuilder::or()` and ↵Joas Schilling2024-07-191-8/+4
| | | | | | `IExpressionBuilder::and()` without parameters Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-22/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "make expression build return IQueryFunction instead of string"Robin Appelman2022-08-161-2/+2
| | | | | | This reverts commit 813b50ed428a8bc36817d19c84444e96dbe3b668. Signed-off-by: Robin Appelman <robin@icewind.nl>
* make expression build return IQueryFunction instead of stringRobin Appelman2022-06-021-2/+2
| | | | | | this allows passing the expressions to further expressions without them being escaped as column names Signed-off-by: Robin Appelman <robin@icewind.nl>
* Explicitly cast char in the query builderJulius Härtl2022-01-041-0/+19
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* make it possible to override the default collationArthur Schiwon2021-09-011-3/+3
| | | | | | - allows admins to configure it for edge cases like accent sensitivity Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Type the experssionbuildersRoeland Jago Douma2021-03-031-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-5/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "Make sure MySQL is not saying 'this' = 'this ' is true"Roeland Jago Douma2020-04-151-8/+0
|
* Make sure MySQL is not saying 'this' = 'this ' is trueJoas Schilling2020-04-151-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | 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>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* reuse query builderRobin Appelman2018-01-121-2/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix like queries in the QueryBuilderJoas Schilling2016-10-191-3/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move \OC\DB to PSR-4Roeland Jago Douma2016-04-151-0/+40
Besides the statement wrapper that is moved to the legacy folder (namepsace of shame folder)