Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(lint): correct comment identationenh/ldap-clearer-errors | Andy Scherzinger | 2025-02-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | Update doc comment for prefixTableName | S1m | 2025-02-11 | 1 | -0/+2 |
| | | | Signed-off-by: S1m <31284753+p1gp1g@users.noreply.github.com> | ||||
* | fix(QueryBuilder): Account for aliases in output columnsfix/querybuilder/output-columns-aliases | provokateurin | 2024-10-02 | 1 | -8/+4 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(QueryBuilder): Restrict identifier length to 30 characters due to Oracle ↵fix/querybuilder/oracle-indentifier-length | provokateurin | 2024-09-26 | 1 | -0/+17 |
| | | | | | | limitations Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | Merge pull request #47852 from nextcloud/sharding-code-fixes | John Molakvoæ | 2024-09-16 | 1 | -3/+3 |
|\ | |||||
| * | fix: misc code fixes around db shardingsharding-code-fixes | Robin Appelman | 2024-09-09 | 1 | -3/+3 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | fix: Adjust types of IQueryBuilder to properly allow joining with sub-query | Ferdinand Thiessen | 2024-09-10 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | fix: implement sharding compatible cleanup for various bits | Robin Appelman | 2024-08-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | feat: implement distributing partitioned queries over multiple shards | Robin Appelman | 2024-08-28 | 1 | -1/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | feat: add option to automatically partition queries by specific tables | Robin Appelman | 2024-08-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | feat: track expected output columns in query builder | Robin Appelman | 2024-08-28 | 1 | -0/+29 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 1 | -6/+6 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | feat: expose escapeLikeParameter trough query builder | Robin Appelman | 2024-08-23 | 1 | -0/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | feat: add additional logging for database errors | Robin Appelman | 2024-07-24 | 1 | -0/+1 |
| | | | | | | including the stack trace of the current database transaction Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix(db): Manually track if `where()` is called when not empty to avoid recursion | Joas Schilling | 2024-07-19 | 1 | -19/+24 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix(db): Deprecate `IExpressionBuilder::or()` and ↵ | Joas Schilling | 2024-07-19 | 1 | -7/+8 |
| | | | | | | `IExpressionBuilder::and()` without parameters Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix(db): Deprecate `getState()` as per upstream | Joas Schilling | 2024-07-19 | 1 | -1/+4 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of ↵ | Joas Schilling | 2024-07-19 | 1 | -30/+12 |
| | | | | | | removed upstream platforms Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix(db): Deprecate using table alias for DELETE and UPDATE | Joas Schilling | 2024-07-19 | 1 | -0/+10 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix(db): Deprecate `getQueryPart()` and `resetQueryPart()` methods that will ↵ | Joas Schilling | 2024-07-19 | 1 | -0/+12 |
| | | | | | | be removed with Doctrine/DBAL 4 Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat: allow running QueryBuilder queries on different connections | Robin Appelman | 2024-07-15 | 1 | -34/+42 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-24 | 1 | -27/+4 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | fix(querybuilder): Remove temporary internal method executeUpdate() | Joas Schilling | 2024-04-30 | 1 | -15/+0 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix: Remove bogus code from query builder and fix parameter name | Côme Chilliet | 2024-04-30 | 1 | -6/+2 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(workflowengine): use andWhere() not second where() | Arthur Schiwon | 2023-11-13 | 1 | -1/+1 |
| | | | | | | | - an unconditional where() condition is added right before - fixes also wrongly named methods in the Exception message Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | fix(dbal): Fix types in query builder methods for parameters | Joas Schilling | 2023-10-18 | 1 | -2/+2 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Refactors "strpos" calls in lib/private to improve code readability. | Faraz Samapoor | 2023-05-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com> | ||||
* | Merge pull request #36261 from ↵ | Joas Schilling | 2023-01-23 | 1 | -0/+6 |
|\ | | | | | | | | | nextcloud/techdebt/noid/warn-devs-about-potential-bugs fix(querybuilder): Log a warning if where() is called again on a quer… | ||||
| * | fix(querybuilder): Log a warning if where() is called again on a query ↵ | Joas Schilling | 2023-01-20 | 1 | -0/+6 |
| | | | | | | | | | | | | builder object Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | composer run cs:fix | Côme Chilliet | 2023-01-20 | 1 | -1/+0 |
|/ | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Revert "make expression build return IQueryFunction instead of string" | Robin Appelman | 2022-08-16 | 1 | -8/+4 |
| | | | | | | This reverts commit 813b50ed428a8bc36817d19c84444e96dbe3b668. Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix typos in lib/private subdirectory | luz paz | 2022-07-27 | 1 | -1/+1 |
| | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com> | ||||
* | make expression build return IQueryFunction instead of string | Robin Appelman | 2022-06-02 | 1 | -4/+8 |
| | | | | | | this allows passing the expressions to further expressions without them being escaped as column names Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix psalm issues related to the user backend | Carl Schwan | 2022-05-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | - Reflect the actual return value returned by the implementation in the the interface. E.g. IUser|bool -> IUser|false - Remove $hasLoggedIn parameter from private countUser implementation. Replace the two call with the equivalent countSeenUser - getBackend is nuallable, add this to the interface - Use backend interface to make psalm happy about call to undefined methods. Also helps with getting rid at some point of the old implementActions Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | tell mysql to ignore the sort index for search queries | Robin Appelman | 2022-04-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix log level for exception in QueryBuilder | Côme Chilliet | 2022-03-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Migrate from ILogger to LoggerInterface in lib/private | Côme Chilliet | 2022-03-24 | 1 | -16/+10 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Prevent query error when use subquery | Vitor Mattos | 2022-01-21 | 1 | -2/+2 |
| | | | | Signed-off-by: Vitor Mattos <vitor@php.rio> | ||||
* | Add a test with integer | Joas Schilling | 2022-01-04 | 1 | -4/+4 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add unit test and orderBy parameter | Vitor Mattos | 2022-01-03 | 1 | -4/+4 |
| | | | | Signed-off-by: Vitor Mattos <vitor@php.rio> | ||||
* | Allow NULL as well for limit, not integer only | Joas Schilling | 2021-11-15 | 1 | -4/+8 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Bump doctrine/dbal from 3.0.0 to 3.1.3 | Christoph Wurst | 2021-10-22 | 1 | -2/+2 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Update php licenses | John Molakvoæ (skjnldsv) | 2021-06-04 | 1 | -1/+1 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | Rename IQueryBuilder::executeUpdate to IQueryBuilder::executeStatement | Christoph Wurst | 2021-05-05 | 1 | -2/+17 |
| | | | | | | | | | Because executeUpdate wasn't a great name. And in DBAL they also use executeStatement more consistently now. Ref https://github.com/doctrine/dbal/issues/4607 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Merge pull request #25929 from nextcloud/techdept/psalm/25839/redundantcasts | Roeland Jago Douma | 2021-03-05 | 1 | -2/+2 |
|\ | | | | | Remove Redundantcasts | ||||
| * | Remove Redundantcasts | Roeland Jago Douma | 2021-03-04 | 1 | -2/+2 |
| | | | | | | | | | | | | For #25839 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | | Add executeQuery and executeUpdate | Roeland Jago Douma | 2021-03-04 | 1 | -0/+37 |
|/ | | | | | | | | | | | Names shamelessly copied from Doctrine itself. Internally it is still using the same flow. But I added some checks around it. This should make static analysis a bit more happy. Which in turn makes me more happy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | allow non string join conditions in query builder | Robin Appelman | 2021-03-03 | 1 | -5/+6 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | DB: warn on parameter number constraints | Arthur Schiwon | 2021-01-11 | 1 | -0/+30 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Bump doctrine/dbal from 2.12.0 to 3.0.0 | Christoph Wurst | 2021-01-08 | 1 | -21/+32 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> |