Gwendal Roué
e7497e707e
SQLRequest.init(SQLString)
2019-02-17 13:24:37 +01:00
Gwendal Roué
b7089bb025
Database.execute(SQLString)
2019-02-17 13:24:37 +01:00
Gwendal Roué
d9cf760a25
SQLString
2019-02-17 13:24:37 +01:00
Gwendal Roué
87ee00c2c5
SQLInterpolation
2019-02-17 13:24:37 +01:00
Gwendal Roué
cc80daec99
Fixit/GRDB-4.0.swift
2019-02-17 12:48:13 +01:00
Gwendal Roué
ad04ccc094
Drop all fixits for GRDB < 3.0
2019-02-07 12:52:52 +01:00
Gwendal Roué
81892491f2
Set default SWIFT_VERSION to 4.2
2019-02-06 19:53:00 +01:00
Gwendal Roué
e924587236
Extract generation of SQL SELECT queries into SQLSelectQueryGenerator
2019-02-03 14:56:28 +01:00
Gwendal Roué
40f6b351ea
Rename QueryInterfaceQuery to SQLSelectQuery
2019-02-02 17:15:29 +01:00
Gwendal Roué
89dda44364
Extract and document DatabasePromise
2019-02-02 17:04:16 +01:00
Gwendal Roué
9addac6f54
Rename QueryOrdering to SQLRelation.Ordering
2019-02-02 16:43:10 +01:00
Gwendal Roué
bb972a351a
Refactor JoinQuery into SQLRelation
2019-02-02 15:39:18 +01:00
Gwendal Roué
b180fc37bb
Trim associations
2019-02-02 10:38:47 +01:00
Gwendal Roué
e3681fdde5
DatabaseRegionObservationTests
2018-12-06 08:28:43 +01:00
Gwendal Roué
6ec4556c2c
DatabaseRegionObservation
2018-12-06 07:49:41 +01:00
Gwendal Roué
c711ca1e8f
ValueObservation.distinctUntilChanged()
2018-12-05 07:58:03 +01:00
Gwendal Roué
b8e3994858
ValueObservation.mapReducer
...
and expose more precise value reducers
2018-12-02 00:01:21 +01:00
Gwendal Roué
5b3412e9f7
ValueObservation.compactMap
2018-12-01 16:35:19 +01:00
Gwendal Roué
798b727d7f
Reducer queue honors qos and targetQueue configuration
2018-11-25 09:35:04 +01:00
Gwendal Roué
41d814b540
Tests for ValueObservation combine
2018-11-24 12:57:24 +01:00
Gwendal Roué
326ef19fe9
ValueObservation combination
2018-11-24 11:38:47 +01:00
Gwendal Roué
842eaf0816
ValueObservation: perform uniquing by default
2018-11-01 21:46:59 +01:00
Gwendal Roué
de2823b613
ValueObservation: StatementColumnConvertible tests
2018-10-28 19:28:19 +01:00
Gwendal Roué
0d5adfe5a9
ValueObservation: FetchableRecord & DatabaseValueConvertible tests
2018-10-28 19:16:55 +01:00
Gwendal Roué
0010be4e56
ValueObservation: row tests
2018-10-28 18:40:21 +01:00
Gwendal Roué
62f6cfe6b5
ValueObservation: count tests
2018-10-28 17:41:18 +01:00
Gwendal Roué
e0a9cced4a
First tests for ValueObservation: focus on reducers
2018-10-28 13:27:43 +01:00
Gwendal Roué
e5d97c15ad
Looking for a good API
2018-10-25 08:05:55 +02:00
Gwendal Roué
33927e7f4d
FetchResultsObserver
2018-10-23 13:24:46 +02:00
Gwendal Roué
39bc140dc8
Rename Annotation to AssociationAggregate
2018-10-07 11:39:46 +02:00
Gwendal Roué
5d70ef93c8
Test that filter(key:), orderByPrimaryKey(), and groupByPrimaryKey() capture the table name
2018-10-05 18:50:34 +02:00
Gwendal Roué
68d76eca01
Annotations: avg, min, max, sum
2018-10-05 18:50:33 +02:00
Gwendal Roué
903694d095
First annotation: HasManyAssociaton.count
2018-10-05 18:50:33 +02:00
Gwendal Roué
e7fd075936
Early detection of association key conflict
2018-09-29 12:40:11 +02:00
Gwendal Roué
04fc14d557
Compatibility: restore SWIFT_VERSION to 4.0 for embeddable projects
2018-09-05 13:09:27 +02:00
Gwendal Roué
bd52dbcec0
Migrate projects to SWIFT_VERSION = 4.2
2018-09-05 13:04:47 +02:00
Gwendal Roué
e9b76bb196
Tests for DatabaseUUIDEncodingStrategy
2018-08-20 22:16:29 +02:00
Gwendal Roué
140c590c49
DatabaseDateEncodingStrategy tests
2018-08-19 21:54:50 +02:00
Gwendal Roué
fc914470f5
DatabaseDateDecodingStrategy tests
2018-08-19 19:51:09 +02:00
Gwendal Roué
2d6140a805
Refactor value conversion tests
2018-08-15 15:17:54 +02:00
Gwendal Roué
1c66ad4aad
Restore GRDB/Core/Support/Foundation/Data.swift
...
because Data belongs to Foundation, not to the Standard Library.
Remove `import Foundation` from StandardLibrary.swift
2018-08-15 12:05:16 +02:00
Gwendal Roué
4b7f17dbfa
Merge remote-tracking branch 'origin/development' into rotacloud
2018-08-15 05:12:28 +02:00
Vlad Alexa
76f5adf944
moved the extension to Swift.Data to follow the extension to Swift.String in the StandardLibrary.swift,
...
added case .blob(let data): return String(data: data, encoding: .utf8) to String.fromDatabaseValue
fixed tests
2018-08-14 15:04:07 +01:00
Gwendal Roué
e9e1fa85c6
Cleanup
2018-08-06 13:40:05 +02:00
Gwendal Roué
f8de01779c
Cleanup
2018-08-06 13:40:05 +02:00
Marcel Ball
4f0b5eb7b9
Enable FTS5 extension for GRDBCipher builds
...
- Enable
- Add -DSQLITE_ENABLE_FTS5 to the CFLAGS for SQLCipher (SQLCipher/src/sqlcipher.xcconfig) (via submodule update)
- Add -D SQLITE_ENABLE_FTS5 to swift flags for GRDBCipher (SQLCipher/GRDBCipher.xcconfig)
- Add -D SQLITE_ENABLE_FTS5 to the GRDBCipher Testing Projects
- Updated message in EncryptionTests - SQLCipher changed the message “file is encrypted or is not a database” back to just “file is not a database” in 3.4.2 - seems like an odd choice on their part but is behaving as expected.
2018-08-03 08:24:25 +02:00
Gwendal Roué
fa31c484da
OrderedRequest now waits for the database connection before ordering is computed
2018-06-05 22:46:02 +02:00
Gwendal Roué
cdad6fa313
Introduce DerivableRequest
2018-05-04 14:19:27 +02:00
Gwendal Roué
66a425f718
Thread-safe table name disambiguation, via SQLGenerationContext. Merge SQLTableQualifier into TableAlias.
2018-05-01 14:44:51 +02:00
Gwendal Roué
a45d019472
Simplification
...
Rename AssociationMapping to JoinCondition
Replace AssociationMappingRequest enum with ForeignKeyJoinConditionRequest struct
Rename AssociationChainOperator to AssociationJoinOperator, and "chain" to "join"
2018-04-30 12:50:38 +02:00