Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move \OC\DB to PSR-4 | Roeland Jago Douma | 2016-04-15 | 1 | -122/+0 |
| | | | | | Besides the statement wrapper that is moved to the legacy folder (namepsace of shame folder) | ||||
* | Happy new year! | Thomas Müller | 2016-01-12 | 1 | -2/+2 |
| | |||||
* | More cleanups of OC_Config usage | Morris Jobke | 2015-12-03 | 1 | -1/+1 |
| | |||||
* | Remove OC_Log | Thomas Müller | 2015-07-03 | 1 | -1/+1 |
| | |||||
* | Update license headers | Jenkins for ownCloud | 2015-03-26 | 1 | -4/+23 |
| | |||||
* | Merge pull request #14496 from owncloud/kill-substr-mssql-master | Thomas Müller | 2015-03-03 | 1 | -102/+0 |
|\ | | | | | [Master] Remove hacky Substring support for MSSQL | ||||
| * | Remove hacky Substring support for MSSQL | Lukas Reschke | 2015-02-25 | 1 | -102/+0 |
| | | | | | | | | Substring() is not required for the core functionality and this allows us to get rid of a huge hack... | ||||
* | | Revert "Updating license headers" | Morris Jobke | 2015-02-26 | 1 | -23/+13 |
|/ | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36. | ||||
* | Dont break code which relies on the cursor being open after insert/update/delete | Bernhard Posselt | 2015-02-24 | 1 | -1/+0 |
| | |||||
* | Close the cursor after the affected count has been extracted. | Thomas Müller | 2015-02-23 | 1 | -1/+2 |
| | |||||
* | Updating license headers | Jenkins for ownCloud | 2015-02-23 | 1 | -13/+23 |
| | |||||
* | ignore cursorclosing | Bernhard Posselt | 2015-01-29 | 1 | -0/+1 |
| | |||||
* | do not output DB information, and do not set header | Arthur Schiwon | 2014-11-14 | 1 | -4/+7 |
| | |||||
* | eliminate OC_Template::printErrorPage in database classes, fixes #12182 | Arthur Schiwon | 2014-11-14 | 1 | -4/+3 |
| | |||||
* | Use function outside of loop | Lukas Reschke | 2014-10-24 | 1 | -1/+2 |
| | | | | Otherwise the function is executed n times which is a lot of overhead | ||||
* | - fix dropTable() and introduce tableExists() | Thomas Müller | 2014-05-30 | 1 | -0/+1 |
| | | | | | | | - kill replaceDB() - this function is unused and it's implementation obviously wrong - add method annotation OC_DB_StatementWrapper::fetchAll - remove duplicate code in Test_DBSchema and reuse OC_DB::tableExists - remove unused variables | ||||
* | Squash 'a | b' into 'a|b', in /lib | Robin McCorkell | 2014-05-13 | 1 | -1/+1 |
| | |||||
* | adding @method annotation to declare methods which can be called on the ↵ | Thomas Müller | 2014-03-28 | 1 | -3/+11 |
| | | | | wrapped statement object | ||||
* | Merge branch 'master' into scrutinizer_documentation_patches | Thomas Müller | 2014-02-18 | 1 | -0/+14 |
|\ | | | | | | | | | Conflicts: lib/private/migration/content.php | ||||
| * | Merge pull request #6796 from owncloud/statementwrapper-bindparam | Thomas Müller | 2014-02-18 | 1 | -0/+14 |
| |\ | | | | | | | Add bindParam to the database statement wrapper | ||||
| | * | Add bindParam to statement wrapper | Robin Appelman | 2014-01-16 | 1 | -0/+14 |
| | | | |||||
* | | | Merge branch 'master' into scrutinizer_documentation_patches | Thomas Müller | 2014-02-14 | 1 | -0/+3 |
|\| | | | | | | | | | | | | | | Conflicts: lib/private/appconfig.php | ||||
| * | | Add caching to appconfig | Robin Appelman | 2014-02-07 | 1 | -0/+3 |
| |/ | |||||
* / | polish documentation based on scrutinizer patches | Jörn Friedrich Dreyer | 2014-02-06 | 1 | -0/+3 |
|/ | |||||
* | Remove OC_DB_StatementWrapper::numRows(). | Andreas Fischer | 2013-12-21 | 1 | -19/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | Using this method will result in an unneccesary extra SQL query (which also may return an incorrect result because the underlying table changed in the meantime). In general: If you are performing an UPDATE, DELETE or equivalent query, OC_DB_StatementWrapper::execute() will already give you the number of "affected rows" via \Doctrine\DBAL\Driver\Statement::rowCount(). This will not work for SELECT queries, however. If you want to know whether a table contains any rows matching your condition, use "SELECT id FROM ... WHERE ... LIMIT 1". If you want to know whether a table contains any rows matching your condition and you also need the data, use "SELECT ... FROM ... WHERE ...", then use one of the fetch() methods. If you want to count the number of rows matching your condition, use use "SELECT COUNT(...) AS number_of_rows FROM ... WHERE ...", then use one of the fetch() methods. | ||||
* | move the private namespace OC into lib/private - OCP will stay in lib/public | Thomas Müller | 2013-09-30 | 1 | -0/+191 |
Conflicts: lib/private/vcategories.php |