Gwendal Roué
f878d99733
Use SQLITE_HAS_CODEC instead of GRDBCIPHER when testing for SQLCipher availability
...
GRDBCIPHER is now just a marker for importing SQLCipher with CocoaPods.
Also, enable all APIs that used to be disabled with SQLCipher, and skip tests that require a specific SQLite version.
2025-10-12 14:49:59 +02:00
Gwendal Roué
edc1d646f0
[BREAKING] Bump minimum Swift version to 6.1
2025-10-04 13:53:38 +02:00
Gwendal Roué
034b241e71
Rename ColumnsProvider to DatabaseComponents
2025-05-11 13:10:19 +02:00
Gwendal Roué
5461caff04
Tests for generic TableAlias
2025-05-10 14:52:48 +02:00
Gwendal Roué
7b2e9d838a
Swift 6.1 compiler: test key-path requests.
2025-05-10 09:36:14 +02:00
Gwendal Roué
35fa28ab90
QueryInterfaceRequest.select(_:as:) with ColumnsProvider
2025-05-10 09:36:14 +02:00
Gwendal Roué
a89bd88340
Prefer key paths over closures, except in tests
...
Don't use key paths in tests because they are Swift 6.1+ only
2025-05-10 09:36:14 +02:00
Gwendal Roué
ff15f30a3b
select(_, as:) with ColumnsProvider
2025-05-10 09:36:14 +02:00
Gwendal Roué
5e9b965bee
Test requests built from ColumnsProvider
2025-05-10 09:36:13 +02:00
Gwendal Roué
8774497f31
Modernize QueryInterfaceRequestTests with an inner Columns type
...
so that we can use the new SQLExpressionBuilder
2025-05-10 09:36:13 +02:00
Gwendal Roué
79cb862478
[BREAKING] watchOS 7+
...
Rationale: https://github.com/groue/GRDB.swift/issues/1472#issuecomment-1960696836
2024-08-24 15:45:38 +02:00
Gwendal Roué
913168df2d
Upgrade tests with belongsTo
2023-07-09 17:22:38 +02:00
Gwendal Roué
81eb6b128f
Failing test for #1357
2023-04-01 14:09:50 +02:00
Gwendal Roué
d3c289a320
Availability checks cleanup
2023-01-22 12:37:40 +01:00
baegteun
a9feac1339
♻️ :: OSX -> macOS in Availability Check
2023-01-17 13:58:37 +09:00
Gwendal Roué
a9fcf1b9c1
SE-0335, SE-0341, SE-0346, SE-0352, SE-0358: some, any, primary associated types
2022-08-21 21:22:34 +02:00
Gwendal Roué
5f44162abe
Rename request.exists(_:) to isEmpty(_:)
2021-10-17 12:27:19 +02:00
Gwendal Roué
55b938a1f5
Test exists(_:), exists(_🔑 ) and exists(_🆔 )
2021-10-17 12:27:19 +02:00
Gwendal Roué
051fdb37b6
Rename SQLLiteral to SQL
2021-03-21 13:33:49 +01:00
Gwendal Roué
d5638f8e53
Update tests and replace filter(value) with filter(databaseValue)
2020-11-01 09:44:13 +01:00
Gwendal Roué
8e2fb1fb22
Update tests
2020-09-06 13:57:16 +02:00
Gwendal Roué
845ae7e0e4
Merge pull request #814 from groue/dev/views
...
Fix regression with views
2020-07-23 18:59:16 +02:00
Gwendal Roué
a526351b4c
Failing test for #812
2020-07-23 08:31:53 +02:00
Gwendal Roué
e2816905bb
OSX 11 is OSX 10.16
2020-07-22 20:22:03 +02:00
Gwendal Roué
ee2d8eae50
Expose ascNullLast and descNullFirst
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:17:52 +02:00
Gwendal Roué
229fb36074
Fix test
2020-07-05 16:23:19 +02:00
Gwendal Roué
90f2642ec6
Make good use of the visitor pattern
2020-07-05 15:07:52 +02:00
Gwendal Roué
d988be49a6
Revert #748
2020-04-09 13:42:37 +02:00
Gwendal Roué
7ce6a8a094
Rename QueryInterfaceRequest to Request
2020-04-04 20:12:03 +02:00
Gwendal Roué
d60fe3c22f
Replace import GRDBCustomSQLite with import GRDB
2020-04-04 16:44:01 +02:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
0f503fe0db
Remove deprecated FetchRequest.prepare(_: forSingleResult:)
2020-03-08 16:18:55 +01:00
Gwendal Roué
9578f984ec
Remove useless #if compiler/swift checks
2020-03-08 13:42:44 +01:00
Gwendal Roué
c60a945610
Fix SQL
2020-01-05 20:36:49 +01:00
Gwendal Roué
adc7079943
Cleanup
2020-01-05 13:55:10 +01:00
Gwendal Roué
cd8fbbe8f2
Add a test for foreign column annotation
2020-01-05 13:45:23 +01:00
Gwendal Roué
580fa6a554
Merge pull request #662 from groue/dev/SQLite3.30.1
...
Upgrade custom SQLite builds to version 3.30.1
2019-12-09 08:06:45 +01:00
Gwendal Roué
7208f53176
Support for NULLS FIRST and NULLS LAST
2019-12-07 12:31:58 +01:00
Gwendal Roué
b6ede15b18
Static tests for QueryInterfaceRequest type inference
2019-12-07 10:37:02 +01:00
Gwendal Roué
aa536813d9
Add request type inference - cc @pakko972
2019-12-07 10:24:15 +01:00
Gwendal Roué
ede4572da3
Update tests for the new forKey(_:) methods
2019-07-27 16:34:17 +02:00
Gwendal Roué
ab000d7a4f
Remove useless expression parenthesis from SQL
2019-05-26 20:08:13 +02:00
Gwendal Roué
680f3ad20c
Nicer WHERE, HAVING and ON output
2019-05-26 15:32:00 +02:00
Gwendal Roué
a4a26e01e7
SelectionRequest.annotated(with:)
2019-05-21 08:05:07 +02:00
Gwendal Roué
1c1ee4e92a
GRDBCipher is no longer. Long live GRDB.swift/SQLCipher.
2019-04-19 13:11:55 +02:00
Alex Robinson
7070dedf1a
Replace FetchRequestHint with a boolean for single results
...
Fixes previous test failure
2019-04-16 10:20:36 +10:00
Alex Robinson
f9868bd8b5
Update tests to expect "LIMIT 1" where appropriate
...
Tests currently fail
2019-04-11 11:51:16 +10:00
Gwendal Roué
db67d3840b
Principle of least astonishment: rrename argument label rawSQL to sql
2019-02-17 13:28:41 +01:00
Gwendal Roué
a57aa2e346
rawSQL migration complete
2019-02-17 13:28:40 +01:00
Gwendal Roué
4bd5ace2ee
Use rawSQL as parameter name for raw SQL
2019-02-17 13:28:40 +01:00