aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: cast to bigint on postgresqlRobin Appelman2024-07-231-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-21/+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/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow casting query functions as wellJoas Schilling2021-07-071-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Type the experssionbuildersRoeland Jago Douma2021-03-031-3/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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>
* add casting to string for postgresql query builderRobin Appelman2019-03-141-5/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move \OC\DB to PSR-4Roeland Jago Douma2016-04-151-0/+56
Besides the statement wrapper that is moved to the legacy folder (namepsace of shame folder)