Roeland Jago Douma
f07d75a4dd
@since 9.2.0 to @since 11.0.0
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Joas Schilling
2c4035e806
Inject config and logger
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Robin Appelman
3a8e75a814
Allow 4byte unicode filenames on supported platforms
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
ba87db3fcc
Fix others
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Joas Schilling
7e3ce83526
Add a method to lock a table
10 years ago
Roeland Jago Douma
893204ef4a
Fix broken exception naming
10 years ago
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)
10 years ago
Robin McCorkell
1b2f1cc272
Prevent certain DBs throwing exceptions on same-value updates
A PreconditionNotMetException must only be thrown if explicit
preconditions are specified for setValues(), not if the value is merely
the same as was already in the DB.
10 years ago
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
10 years ago
Joas Schilling
01164e89a4
Move parameter to the right function call
10 years ago
Joas Schilling
76f506e264
Use our OCP constants
10 years ago
Robin Appelman
58afddfaa5
allow comparing clob using expressionbuilder->eq if you explicitly say you're comparing strings
10 years ago
Robin Appelman
ebd15fd5ed
handle bool in setValue
10 years ago
Robin Appelman
895fd49fb2
also handle not null violations
10 years ago
Robin McCorkell
88cd615214
Introduce IDBConnection::setValues()
setValues() attempts to insert a new row, or failing that, update an
existing row. The ability to set preconditions is also available.
11 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Morris Jobke
c60c793cf2
More cleanups of OC_Config usage
10 years ago
Thomas Müller
aa660ec232
Throw an exception in case no table name is passed into lastInsertId of the Oracle adapter
10 years ago
Robin Appelman
d514200b56
Add escapeLikeParameter to IDBConnection
10 years ago
Robin Appelman
58e96e53b0
add method to check if we're inside a transaction
11 years ago
Joas Schilling
20cd0ae55b
Add a log message when the Doctrine Query Builder is retrieved
11 years ago
Joas Schilling
516f7e8299
Add unit tests and automatic quoting
11 years ago
Joas Schilling
1bfb944d51
Add QueryBuilder, ExpressionBuilder and CompositeExpression wrappers
11 years ago
Thomas Müller
d3ac73c0c9
Remove OC_Log
11 years ago
Thomas Müller
bcf65d9c13
Using TRANSACTION_READ_COMMITTED
11 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
11 years ago
Robin Appelman
faa4918355
be a little more verbose in the exception message when we cant connect to the db
11 years ago
Joas Schilling
c2a5bd6a01
Also add a note that clob does not work in the compare array
11 years ago
Joas Schilling
d1511cdbee
Fix doc blocks of insertIfNotExists() method
11 years ago
Thomas Müller
89be55a672
let insertIfNotExist() throw the native DBALException - no need to hide the real exception
11 years ago
Joas Schilling
8fa692388b
Allow specifying the compare-array for insertIfNotExists()
11 years ago
Thomas Müller
4e37831d85
Fix PHPDoc on the way ....
11 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0 .
11 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
11 years ago
Thomas Müller
1d2bef0a01
Use a special filter expression for Oracle to filter the prefix - fixes #13220
11 years ago
Robin Appelman
3356308594
Prevent leaking db connection info in the stacktrace
11 years ago
Arthur Schiwon
ec0f80fee9
Split mapping from Access and Helper classes into it's own. Fully test them, too.
remove unused methods
split mapping methods off from Access class
fix DB query handling
move 'clear mapping' methods from static helper to new mapping class
add tests
test directly with DB
finishing tests and fix return value from setDNbyUUID
add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class.
add missing info to PHPDoc
add unmap method
fix namespaces
fix test inheritance
PHPDoc and a small code restructure for scrutinizer, no effective changes
PostgreSQL does not accept LIMIT in DELETE queries
phpdoc fixes, no code changes
11 years ago
Robin Appelman
778d8dbafd
Add tableExists to public db api
11 years ago
Robin Appelman
8af3991d0c
Add dropTable to IDBConnection
11 years ago
Robin Appelman
d4e929c37a
Remove implicit prepared statement cache and get the connection from the server container in \OC_DB
12 years ago
Robin Appelman
72f99f5041
Remove \OC\DB\ConnectionWrapper, have \OC\DB\Connection implement \OCP\IDBConnection directly instead
12 years ago
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
12 years ago
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
12 years ago
Thomas Müller
e30e4ea1cc
php 5.3 compatibility regarding OC\DB\Connection fixed
13 years ago
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
13 years ago
Bart Visscher
aa8a85f77d
Add DBConnection to server container
13 years ago
Bart Visscher
d563367b0f
More style fixes
13 years ago
Bart Visscher
83988a5906
Fix stupid bug
13 years ago