Commit Graph

62 Commits (606241caebda2e01702c0d08adbc35ace8d01f13)

Author SHA1 Message Date
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 2 years ago
Robin Appelman da59fd4389
fix: misc code fixes around db sharding 2 years ago
Arthur Schiwon b71c539b5c
test(phpunit): skip sharding tests on 32bit 2 years ago
Louis Chemineau 2574cbfa61
chore: Apply php:cs recommendations 2 years ago
Robin Appelman 62f8b6517f
feat: implement distributing partitioned queries over multiple shards 2 years ago
Robin Appelman f5b3486744
feat: add option to automatically partition queries by specific tables 2 years ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 2 years ago
Joas Schilling eeb6ddb176
fix(db): Deprecate `IExpressionBuilder::or()` and `IExpressionBuilder::and()` without parameters 2 years ago
Robin Appelman 9de6190ec4
feat: allow running QueryBuilder queries on different connections 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Joas Schilling b04f6d57b4
fix(tests): Make PostgreSQL unit tests less flacky by ordering 3 years ago
Maxence Lange f7d0c74b10 lazy AppConfig 3 years ago
Julius Härtl e50cb0a30f tests(DB): Add test for date time comparisons in query builder 3 years ago
Julius Härtl c246edece6
tests(oci): Test where statement on longtext column 4 years ago
Robin Appelman 6e0123a1d0 Revert "add case statement to sql function builder" 4 years ago
Robin Appelman 2a68819a67
add case statement to sql function builder 4 years ago
Côme Chilliet bfd09a0669 Avoid select with no FROM clause for Oracle in tests 4 years ago
Côme Chilliet efebbacca4 Add octetLength and charLength to function builder, and tests 4 years ago
Côme Chilliet 61f7f13bd8
Migrate from ILogger to LoggerInterface where needed in the tests 4 years ago
Vitor Mattos b6d9e0542d
Fix column size to work with Oracle. Add unit tests 5 years ago
Vitor Mattos afe5b6dd8a
Prevent query error when use subquery 5 years ago
Carl Schwan 6312c0df69
Check style update 5 years ago
Vitor Mattos f732cf1b04
Unit tests 5 years ago
Joas Schilling 46ad6fa3c7
Add a test with integer 5 years ago
Joas Schilling 43fa2d5c8c
Test with real data 5 years ago
Vitor Mattos fb6a9f308d
Add unit test 5 years ago
Vitor Mattos 7b9fea85b6
Add unit test and orderBy parameter 5 years ago
Christoph Wurst 130ab63ca1
Bump doctrine/dbal from 3.0.0 to 3.1.3 5 years ago
Joas Schilling 11d21e5f5c
Add a unit test to check for casting a IQueryFunction 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 6 years ago
Arthur Schiwon f9484d15cb
DB: warn on parameter number constraints 6 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 6 years ago
Robin Appelman a61a757b85
allow selecting multiple columns with SELECT DISTINCT 6 years ago
Joas Schilling 8027dcbc6f
Don't leave cursors open when tests fail 6 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 6 years ago
Joas Schilling c68718f90c
Remove dropped " ON " when join has no condition 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 7 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 7 years ago
Robin Appelman 9e450d727a
add LEAST and GREATER to db function builder 7 years ago
Robin Appelman 8ef5a366ec
add MAX and MIN to functionbuilder 7 years ago
Joas Schilling bb352fb667
Use the defined func()->count() instead of manual counting 8 years ago
Robin Appelman 3047ef31bd
Add count to function builder 8 years ago
Robin Appelman 89a9d35d90 dont keep shared database locks when running cli scripts 8 years ago
Joas Schilling bf2be08c9f
Fix risky tests without assertions 9 years ago
Robin Appelman 42b3aa3a0a
reuse query builder 9 years ago
Robin Appelman aad01894e3
refactor user searching 9 years ago
Joas Schilling 293dea0625
Fix querybuilder and functionbuilder tests 9 years ago
Robin Appelman 48df99f2e0
fix quote helper test 10 years ago
Robin Appelman d4a7cfec7c
rename fun to func 10 years ago
Robin Appelman fee818f493
Add tests for query builder (i)like 10 years ago