Commit Graph

45 Commits (cb73fe26b818cfdb8fbf07116cd8e970a9cdc708)

Author SHA1 Message Date
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 4 years ago
Vitor Mattos afe5b6dd8a
Prevent query error when use subquery 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Vitor Mattos f732cf1b04
Unit tests 4 years ago
Joas Schilling 46ad6fa3c7
Add a test with integer 4 years ago
Joas Schilling 43fa2d5c8c
Test with real data 4 years ago
Vitor Mattos fb6a9f308d
Add unit test 4 years ago
Vitor Mattos 7b9fea85b6
Add unit test and orderBy parameter 4 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 5 years ago
Arthur Schiwon f9484d15cb
DB: warn on parameter number constraints 5 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 5 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 8 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 9 years ago
Robin Appelman d4a7cfec7c
rename fun to func 9 years ago
Robin Appelman fee818f493
Add tests for query builder (i)like 9 years ago
Robin Appelman 4279b13270
Add function builder to the query builder 9 years ago
Robin Appelman a65652fc1e
add support for escaping like parameters when using the query builder 9 years ago
Lukas Reschke a8b7df9cc1
Add tests 10 years ago
Joas Schilling 2c4035e806
Inject config and logger 10 years ago
Thomas Müller b1641cc113
Fix QueryBuilderTests 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago