John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 年前
Christoph Wurst
8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 年前
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 年前
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 年前
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
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>
4 年前
Christoph Wurst
44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 年前
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 年前
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* 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>
4 年前
Morris Jobke
5273639d0e
Add deprecation message ofr insertIfNotExist
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 年前
Morris Jobke
230e93f575
Catch UniqueConstraintViolationException inside insertIfNotExist
This is the most common case for the usage of this method.
See also https://github.com/nextcloud/server/issues/12369 and the linked tickets.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 年前
Morris Jobke
e6efa755c9
Use short for of substr to not need strlen()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 年前
Robin Appelman
3355fd549f
dont double escape
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 年前
Joas Schilling
0215b004da
Update with robin
8 年前
Joas Schilling
ba87db3fcc
Fix others
8 年前
Joas Schilling
7e3ce83526
Add a method to lock a table
8 年前
Robin Appelman
dbfdc6282a
do propagation in a single query
8 年前
Roeland Jago Douma
d09f835dca
Move \OC\DB to PSR-4
Besides the statement wrapper that is moved to the legacy folder
(namepsace of shame folder)
8 年前
Thomas Müller
682821c71e
Happy new year!
8 年前
Robin Appelman
b394fe8709
define escape character for like statements on sqlite
9 年前
Jenkins for ownCloud
b585d87d9d
Update license headers
9 年前
Joas Schilling
c2a5bd6a01
Also add a note that clob does not work in the compare array
9 年前
Joas Schilling
fefcbb966b
Also use all keys for an empty array, just in case
9 年前
Joas Schilling
d1511cdbee
Fix doc blocks of insertIfNotExists() method
9 年前
Thomas Müller
89be55a672
let insertIfNotExist() throw the native DBALException - no need to hide the real exception
9 年前
Joas Schilling
8fa692388b
Allow specifying the compare-array for insertIfNotExists()
9 年前
Thomas Müller
987b683895
Use an atomic implementation on sqlite for insertIfNotExist()
9 年前
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 年前
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 年前
Arthur Schiwon
74ffda8261
do not output DB information, and do not set header
9 年前
Arthur Schiwon
08205c63f9
errors are already logged
9 年前
Arthur Schiwon
7ed678b04d
eliminate OC_Template::printErrorPage in database classes, fixes #12182
9 年前
Robin Appelman
67b1ec1faf
Implement ILIKE for sqlite
9 年前
Robin Appelman
1771bfc2f2
Introduce cross-db ILIKE
9 年前
Robin Appelman
c4fa07d7cf
Also update sqliteadapter
10 年前
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
10 年前
Bart Visscher
be7c613993
Fix errors from unit tests
11 年前
Bart Visscher
b66c9098bd
Correct namespace of OC_ classes
11 年前
Bart Visscher
19b9c89634
Move insertIfNotExist to Connection wrapper
Real implementation is in DB\Adapter* classes
11 年前
Bart Visscher
58991150ab
Move query statement fixup handling to Connection wrapper
11 年前
Bart Visscher
66a215651b
Create DB Connection wrapper and DB\Adapter* classes
11 年前