mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Merge pull request #314 from groue/GRDB3-RenameRecordProtocols
Rename record protocols
This commit is contained in:
56 files changed
+972
-933
No files matched your search
+22
-1
@@ -5,12 +5,33 @@ Release Notes
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- The Record protocols have been renamed: `RowConvertible` to `FetchableRecord`, `Persistable` to `PersistableRecord`, and `TableMapping` to `TableRecord`.
|
||||
- `Request` and `TypedRequest` protocols have been merged into `FetchRequest` ([311](https://github.com/groue/GRDB.swift/pull/311))
|
||||
- The `IteratorCursor` type has been removed. Use `AnyCursor` instead.
|
||||
|
||||
|
||||
### API diff
|
||||
|
||||
**Record protocols**
|
||||
|
||||
```diff
|
||||
-protocol RowConvertible {
|
||||
+protocol FetchableRecord {
|
||||
}
|
||||
|
||||
-protocol TableMapping {
|
||||
+protocol TableRecord {
|
||||
}
|
||||
|
||||
-protocol MutablePersistable: TableMapping {
|
||||
+protocol MutablePersistableRecord: TableRecord {
|
||||
}
|
||||
|
||||
-protocol Persistable: MutablePersistable {
|
||||
+protocol PersistableRecord: MutablePersistableRecord {
|
||||
}
|
||||
```
|
||||
|
||||
**FetchRequest**
|
||||
|
||||
```diff
|
||||
@@ -60,7 +81,7 @@ Release Notes
|
||||
+ func fetchOne(_ db: Database) throws -> Row?
|
||||
+}
|
||||
|
||||
+extension FetchRequest where RowDecoder: RowConvertible {
|
||||
+extension FetchRequest where RowDecoder: FetchableRecord {
|
||||
+ func fetchCursor(_ db: Database) throws -> RecordCursor<RowDecoder>
|
||||
+ func fetchAll(_ db: Database) throws -> [RowDecoder]
|
||||
+ func fetchOne(_ db: Database) throws -> RowDecoder?
|
||||
|
||||
@@ -65,24 +65,24 @@ struct Place {
|
||||
}
|
||||
```
|
||||
|
||||
By adopting the [RowConvertible] protocol, places can be loaded from SQL requests:
|
||||
By adopting the [FetchableRecord] protocol, places can be loaded from SQL requests:
|
||||
|
||||
```swift
|
||||
extension Place: RowConvertible { ... }
|
||||
extension Place: FetchableRecord { ... }
|
||||
let places = try Place.fetchAll(db, "SELECT * FROM places") // [Place]
|
||||
```
|
||||
|
||||
Add the [TableMapping] protocol, and SQL requests are generated for you:
|
||||
Add the [TableRecord] protocol, and SQL requests are generated for you:
|
||||
|
||||
```swift
|
||||
extension Place: TableMapping { ... }
|
||||
extension Place: TableRecord { ... }
|
||||
let place = try Place.fetchOne(db, key: 1) // Place?
|
||||
```
|
||||
|
||||
Add the [Persistable] protocol, and places know how to insert, update and delete themselves:
|
||||
Add the [PersistableRecord] protocol, and places know how to insert, update and delete themselves:
|
||||
|
||||
```swift
|
||||
extension Place: Persistable { ... }
|
||||
extension Place: PersistableRecord { ... }
|
||||
try place.delete(db)
|
||||
```
|
||||
|
||||
@@ -263,13 +263,13 @@ Happy GRDB! :gift:
|
||||
[FMDB]: http://github.com/ccgus/fmdb
|
||||
[GRDB]: http://github.com/groue/GRDB.swift
|
||||
[GRDBObjc]: http://github.com/groue/GRDBObjc
|
||||
[Persistable]: https://github.com/groue/GRDB.swift/blob/master/README.md#records
|
||||
[PersistableRecord]: https://github.com/groue/GRDB.swift/blob/master/README.md#records
|
||||
[Realm]: http://realm.io
|
||||
[RowConvertible]: https://github.com/groue/GRDB.swift/blob/master/README.md#records
|
||||
[FetchableRecord]: https://github.com/groue/GRDB.swift/blob/master/README.md#records
|
||||
[RxGRDB]: https://github.com/RxSwiftCommunity/RxGRDB
|
||||
[RxSwift]: https://github.com/ReactiveX/RxSwift
|
||||
[SQLite.swift]: http://github.com/stephencelis/SQLite.swift
|
||||
[StORM]: https://www.perfect.org/docs/StORM.html
|
||||
[Swift-Kuery]: http://github.com/IBM-Swift/Swift-Kuery
|
||||
[TableMapping]: https://github.com/groue/GRDB.swift/blob/master/README.md#records
|
||||
[TableRecord]: https://github.com/groue/GRDB.swift/blob/master/README.md#records
|
||||
[TransactionObserver]: https://github.com/groue/GRDB.swift/blob/master/README.md#transactionobserver-protocol
|
||||
+123
-123
@@ -45,10 +45,10 @@
|
||||
560D92411C672C3E00F4F92B /* DatabaseValueConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D923E1C672C3E00F4F92B /* DatabaseValueConvertible.swift */; };
|
||||
560D92421C672C3E00F4F92B /* StatementColumnConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D923F1C672C3E00F4F92B /* StatementColumnConvertible.swift */; };
|
||||
560D92431C672C3E00F4F92B /* StatementColumnConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D923F1C672C3E00F4F92B /* StatementColumnConvertible.swift */; };
|
||||
560D92471C672C4B00F4F92B /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* Persistable.swift */; };
|
||||
560D92481C672C4B00F4F92B /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* Persistable.swift */; };
|
||||
560D924B1C672C4B00F4F92B /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
560D924C1C672C4B00F4F92B /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
560D92471C672C4B00F4F92B /* PersistableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* PersistableRecord.swift */; };
|
||||
560D92481C672C4B00F4F92B /* PersistableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* PersistableRecord.swift */; };
|
||||
560D924B1C672C4B00F4F92B /* TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableRecord.swift */; };
|
||||
560D924C1C672C4B00F4F92B /* TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableRecord.swift */; };
|
||||
561667051D08A49900ADD404 /* FoundationNSDecimalNumberTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 561667001D08A49900ADD404 /* FoundationNSDecimalNumberTests.swift */; };
|
||||
56176C591EACCCC7000F3F2B /* FTS5CustomTokenizerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5698AD001DAA8ACA0056AF8C /* FTS5CustomTokenizerTests.swift */; };
|
||||
56176C5A1EACCCC7000F3F2B /* FTS5PatternTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B964C01DA521450002DA19 /* FTS5PatternTests.swift */; };
|
||||
@@ -95,14 +95,14 @@
|
||||
562EA82F1F17B9EB00FA528C /* CompilationSubClassTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 562EA82E1F17B9EB00FA528C /* CompilationSubClassTests.swift */; };
|
||||
562EA8331F17B9EB00FA528C /* CompilationSubClassTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 562EA82E1F17B9EB00FA528C /* CompilationSubClassTests.swift */; };
|
||||
56300B5F1C53C38F005A543B /* QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */; };
|
||||
56300B621C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */; };
|
||||
56300B621C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
56300B691C53D25E005A543B /* QueryInterfaceExpressionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */; };
|
||||
56300B6C1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */; };
|
||||
56300B6C1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
56300B781C53F592005A543B /* QueryInterfaceRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */; };
|
||||
56300B791C53F592005A543B /* QueryInterfaceRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */; };
|
||||
56300B861C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */; };
|
||||
563363B01C933FF8000BE133 /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableTests.swift */; };
|
||||
563363B21C933FF8000BE133 /* PersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableTests.swift */; };
|
||||
563363B01C933FF8000BE133 /* MutablePersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */; };
|
||||
563363B21C933FF8000BE133 /* PersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */; };
|
||||
563363BE1C93FD5E000BE133 /* DatabaseQueueConcurrencyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363BC1C93FD5E000BE133 /* DatabaseQueueConcurrencyTests.swift */; };
|
||||
563363C01C942C04000BE133 /* DatabaseReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363BF1C942C04000BE133 /* DatabaseReader.swift */; };
|
||||
563363C11C942C04000BE133 /* DatabaseReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363BF1C942C04000BE133 /* DatabaseReader.swift */; };
|
||||
@@ -183,9 +183,9 @@
|
||||
565490DE1D5AE252005622CB /* QueryInterfaceQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */; };
|
||||
565490DF1D5AE252005622CB /* TableDefinition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */; };
|
||||
565490E01D5AE252005622CB /* FetchedRecordsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31A7787C1C6A4DD600F507F6 /* FetchedRecordsController.swift */; };
|
||||
565490E11D5AE252005622CB /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* Persistable.swift */; };
|
||||
565490E11D5AE252005622CB /* PersistableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* PersistableRecord.swift */; };
|
||||
565490E21D5AE252005622CB /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A11B9C753B0082EB20 /* Record.swift */; };
|
||||
565490E41D5AE252005622CB /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
565490E41D5AE252005622CB /* TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableRecord.swift */; };
|
||||
56553C101C3E906C00522B5C /* GRDBTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5623E0901B4AFACC00B20B7F /* GRDBTestCase.swift */; };
|
||||
56553C131C3E906C00522B5C /* GRDB.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC3773F319C8CBB3004FCF85 /* GRDB.framework */; };
|
||||
5657AAB91D107001006283EF /* NSData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5657AAB81D107001006283EF /* NSData.swift */; };
|
||||
@@ -211,7 +211,7 @@
|
||||
5659F4A01EA8D997004A4992 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5659F49F1EA8D997004A4992 /* Result.swift */; };
|
||||
5659F4A31EA8D997004A4992 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5659F49F1EA8D997004A4992 /* Result.swift */; };
|
||||
5659F4A61EA8D997004A4992 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5659F49F1EA8D997004A4992 /* Result.swift */; };
|
||||
565B0FF01BBC7D980098DE03 /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
565B0FF01BBC7D980098DE03 /* FetchableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */; };
|
||||
565D5D721BBC694D00DC9BD4 /* Row+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D701BBC694D00DC9BD4 /* Row+FoundationTests.swift */; };
|
||||
565D5D751BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */; };
|
||||
565EFAF21D0436CE00A8FA9D /* NumericOverflowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565EFAED1D0436CE00A8FA9D /* NumericOverflowTests.swift */; };
|
||||
@@ -237,8 +237,8 @@
|
||||
566A841C2041146100E50BFD /* DatabaseSnapshot.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84192041146100E50BFD /* DatabaseSnapshot.swift */; };
|
||||
566A8425204120B700E50BFD /* DatabaseSnapshotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A8424204120B700E50BFD /* DatabaseSnapshotTests.swift */; };
|
||||
566A8426204120B700E50BFD /* DatabaseSnapshotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A8424204120B700E50BFD /* DatabaseSnapshotTests.swift */; };
|
||||
566A84402041914000E50BFD /* MutablePersistableChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A843F2041914000E50BFD /* MutablePersistableChangesTests.swift */; };
|
||||
566A84412041914000E50BFD /* MutablePersistableChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A843F2041914000E50BFD /* MutablePersistableChangesTests.swift */; };
|
||||
566A84402041914000E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A843F2041914000E50BFD /* MutablePersistableRecordChangesTests.swift */; };
|
||||
566A84412041914000E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A843F2041914000E50BFD /* MutablePersistableRecordChangesTests.swift */; };
|
||||
566AD8B21D5318F4002EC1A8 /* TableDefinition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */; };
|
||||
566AD8B51D5318F4002EC1A8 /* TableDefinition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */; };
|
||||
566AD8CA1D531BEC002EC1A8 /* TableDefinitionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */; };
|
||||
@@ -273,12 +273,12 @@
|
||||
5674A6EB1F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */; };
|
||||
5674A6EF1F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */; };
|
||||
5674A6F01F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */; };
|
||||
5674A6F41F307F600095F066 /* Persistable+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* Persistable+Encodable.swift */; };
|
||||
5674A6F81F307F600095F066 /* Persistable+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* Persistable+Encodable.swift */; };
|
||||
5674A6F91F307F600095F066 /* Persistable+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* Persistable+Encodable.swift */; };
|
||||
5674A6FB1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */; };
|
||||
5674A6FF1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */; };
|
||||
5674A7001F307F600095F066 /* RowConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */; };
|
||||
5674A6F41F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */; };
|
||||
5674A6F81F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */; };
|
||||
5674A6F91F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */; };
|
||||
5674A6FB1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */; };
|
||||
5674A6FF1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */; };
|
||||
5674A7001F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */; };
|
||||
5674A7031F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */; };
|
||||
5674A7071F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */; };
|
||||
5674A7081F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */; };
|
||||
@@ -286,10 +286,10 @@
|
||||
5674A7121F3087710095F066 /* DatabaseValueConvertibleEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70B1F3087700095F066 /* DatabaseValueConvertibleEncodableTests.swift */; };
|
||||
5674A7171F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */; };
|
||||
5674A71A1F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */; };
|
||||
5674A7201F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */; };
|
||||
5674A7231F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */; };
|
||||
5674A72A1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */; };
|
||||
5674A72D1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */; };
|
||||
5674A7201F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */; };
|
||||
5674A7231F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */; };
|
||||
5674A72A1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */; };
|
||||
5674A72D1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */; };
|
||||
567517C820131B220094BF41 /* RecordBox.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567517C720131B220094BF41 /* RecordBox.swift */; };
|
||||
567517C920131B220094BF41 /* RecordBox.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567517C720131B220094BF41 /* RecordBox.swift */; };
|
||||
567517CA20131B220094BF41 /* RecordBox.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567517C720131B220094BF41 /* RecordBox.swift */; };
|
||||
@@ -420,8 +420,8 @@
|
||||
56A8C2471D1918F00096E9D4 /* FoundationNSUUIDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A8C2361D1914790096E9D4 /* FoundationNSUUIDTests.swift */; };
|
||||
56A8C2481D1918F00096E9D4 /* FoundationUUIDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A8C21E1D1914110096E9D4 /* FoundationUUIDTests.swift */; };
|
||||
56AF746F1D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56AF746A1D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift */; };
|
||||
56B021C91D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */; };
|
||||
56B021CD1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */; };
|
||||
56B021C91D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */; };
|
||||
56B021CD1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */; };
|
||||
56B14E831D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */; };
|
||||
56B15D0B1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B15D0A1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift */; };
|
||||
56B1C3CD201C8D0E001938DA /* Swift4.1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B1C3CC201C8D0E001938DA /* Swift4.1.swift */; };
|
||||
@@ -459,9 +459,9 @@
|
||||
56CC9247201E058100CB597E /* DropFirstCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9245201E058000CB597E /* DropFirstCursorTests.swift */; };
|
||||
56CC9251201E093F00CB597E /* PrefixCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9250201E093E00CB597E /* PrefixCursorTests.swift */; };
|
||||
56CC9252201E093F00CB597E /* PrefixCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9250201E093E00CB597E /* PrefixCursorTests.swift */; };
|
||||
56CEB4F11EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */; };
|
||||
56CEB4F41EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */; };
|
||||
56CEB4F71EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */; };
|
||||
56CEB4F11EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */; };
|
||||
56CEB4F41EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */; };
|
||||
56CEB4F71EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */; };
|
||||
56CEB4FA1EAA2F4D00BFAF62 /* FTS3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */; };
|
||||
56CEB4FD1EAA2F4D00BFAF62 /* FTS3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */; };
|
||||
56CEB5001EAA2F4D00BFAF62 /* FTS3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */; };
|
||||
@@ -513,10 +513,10 @@
|
||||
56D496651D813076008276D7 /* DatabaseMigratorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238241B9C74A90082EB20 /* DatabaseMigratorTests.swift */; };
|
||||
56D496661D813086008276D7 /* QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */; };
|
||||
56D496671D813086008276D7 /* Record+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */; };
|
||||
56D496681D813086008276D7 /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */; };
|
||||
56D496681D813086008276D7 /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
56D496691D813086008276D7 /* QueryInterfaceExpressionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */; };
|
||||
56D4966A1D813086008276D7 /* TableMapping+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */; };
|
||||
56D4966B1D81309E008276D7 /* MutablePersistableDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */; };
|
||||
56D4966A1D813086008276D7 /* TableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
56D4966B1D81309E008276D7 /* MutablePersistableRecordDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */; };
|
||||
56D4966C1D81309E008276D7 /* RecordMinimalPrimaryKeyRowIDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238261B9C74A90082EB20 /* RecordMinimalPrimaryKeyRowIDTests.swift */; };
|
||||
56D4966D1D81309E008276D7 /* RecordMinimalPrimaryKeySingleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238271B9C74A90082EB20 /* RecordMinimalPrimaryKeySingleTests.swift */; };
|
||||
56D4966E1D81309E008276D7 /* RecordPrimaryKeyMultipleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238281B9C74A90082EB20 /* RecordPrimaryKeyMultipleTests.swift */; };
|
||||
@@ -550,10 +550,10 @@
|
||||
56D496901D81316E008276D7 /* RowAdapterTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565F03C11CE5D3AA00DE108F /* RowAdapterTests.swift */; };
|
||||
56D496911D81316E008276D7 /* RowFromStatementTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */; };
|
||||
56D496921D81316E008276D7 /* RowFromDictionaryLiteralTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */; };
|
||||
56D496931D81316E008276D7 /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
56D496931D81316E008276D7 /* FetchableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */; };
|
||||
56D496941D81317B008276D7 /* SchedulingWatchdogTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 569C1EB11CF07DDD0042627B /* SchedulingWatchdogTests.swift */; };
|
||||
56D496951D81317B008276D7 /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableTests.swift */; };
|
||||
56D496961D81317B008276D7 /* PersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableTests.swift */; };
|
||||
56D496951D81317B008276D7 /* MutablePersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */; };
|
||||
56D496961D81317B008276D7 /* PersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */; };
|
||||
56D496971D81317B008276D7 /* DatabaseReaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA86931C91DFE7002BB4DF /* DatabaseReaderTests.swift */; };
|
||||
56D496981D81317B008276D7 /* DatabaseValueTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238181B9C74A90082EB20 /* DatabaseValueTests.swift */; };
|
||||
56D496AB1D8132CA008276D7 /* DatabasePoolFunctionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 569531361C919DF700CF1A2B /* DatabasePoolFunctionTests.swift */; };
|
||||
@@ -577,9 +577,9 @@
|
||||
56D507621F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */; };
|
||||
56D507831F6D7B2E00AE1C5B /* InsertRecordStructTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D507821F6D7A4500AE1C5B /* InsertRecordStructTests.swift */; };
|
||||
56D507841F6D7B2F00AE1C5B /* InsertRecordStructTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D507821F6D7A4500AE1C5B /* InsertRecordStructTests.swift */; };
|
||||
56D51D001EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */; };
|
||||
56D51D031EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */; };
|
||||
56D51D061EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */; };
|
||||
56D51D001EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */; };
|
||||
56D51D031EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */; };
|
||||
56D51D061EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */; };
|
||||
56DAA2D21DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */; };
|
||||
56DAA2D61DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */; };
|
||||
56DAA2DB1DE9C827006E10C8 /* Cursor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2DA1DE9C827006E10C8 /* Cursor.swift */; };
|
||||
@@ -620,9 +620,9 @@
|
||||
56FC987B1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */; };
|
||||
56FC987E1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */; };
|
||||
56FDECE31BB32DFD009AD709 /* RowFromStatementTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */; };
|
||||
56FEE7FB1F47253700D930EA /* TableMappingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableMappingTests.swift */; };
|
||||
56FEE7FF1F47253700D930EA /* TableMappingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableMappingTests.swift */; };
|
||||
56FF45441D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */; };
|
||||
56FEE7FB1F47253700D930EA /* TableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableRecordTests.swift */; };
|
||||
56FEE7FF1F47253700D930EA /* TableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableRecordTests.swift */; };
|
||||
56FF45441D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */; };
|
||||
56FF455A1D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */; };
|
||||
6340BF801E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6340BF7F1E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift */; };
|
||||
6340BF841E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6340BF7F1E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift */; };
|
||||
@@ -767,8 +767,8 @@
|
||||
560C981A1C0E22D300BF8471 /* GRDBOSXPerformanceTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBOSXPerformanceTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
560D923E1C672C3E00F4F92B /* DatabaseValueConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertible.swift; sourceTree = "<group>"; };
|
||||
560D923F1C672C3E00F4F92B /* StatementColumnConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StatementColumnConvertible.swift; sourceTree = "<group>"; };
|
||||
560D92441C672C4B00F4F92B /* Persistable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Persistable.swift; sourceTree = "<group>"; };
|
||||
560D92461C672C4B00F4F92B /* TableMapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableMapping.swift; sourceTree = "<group>"; };
|
||||
560D92441C672C4B00F4F92B /* PersistableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableRecord.swift; sourceTree = "<group>"; };
|
||||
560D92461C672C4B00F4F92B /* TableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRecord.swift; sourceTree = "<group>"; };
|
||||
560FC5101CAEEDF10014AA8E /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
|
||||
561667001D08A49900ADD404 /* FoundationNSDecimalNumberTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FoundationNSDecimalNumberTests.swift; sourceTree = "<group>"; };
|
||||
562393171DECC02000A6B01F /* RowFetchTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowFetchTests.swift; sourceTree = "<group>"; };
|
||||
@@ -783,13 +783,13 @@
|
||||
562EA8251F17B2AC00FA528C /* CompilationProtocolTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CompilationProtocolTests.swift; sourceTree = "<group>"; };
|
||||
562EA82E1F17B9EB00FA528C /* CompilationSubClassTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CompilationSubClassTests.swift; sourceTree = "<group>"; };
|
||||
56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceRequestTests.swift; sourceTree = "<group>"; };
|
||||
56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "RowConvertible+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceExpressionsTests.swift; sourceTree = "<group>"; };
|
||||
56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "TableMapping+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "TableRecord+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceRequest.swift; sourceTree = "<group>"; };
|
||||
56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Record+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
563363A91C933FF8000BE133 /* MutablePersistableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableTests.swift; sourceTree = "<group>"; };
|
||||
563363AA1C933FF8000BE133 /* PersistableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableTests.swift; sourceTree = "<group>"; };
|
||||
563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordTests.swift; sourceTree = "<group>"; };
|
||||
563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableRecordTests.swift; sourceTree = "<group>"; };
|
||||
563363BC1C93FD5E000BE133 /* DatabaseQueueConcurrencyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseQueueConcurrencyTests.swift; sourceTree = "<group>"; };
|
||||
563363BF1C942C04000BE133 /* DatabaseReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseReader.swift; sourceTree = "<group>"; };
|
||||
563363C31C942C37000BE133 /* DatabaseWriter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseWriter.swift; sourceTree = "<group>"; };
|
||||
@@ -819,7 +819,7 @@
|
||||
5659F48F1EA8D964004A4992 /* ReadWriteBox.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReadWriteBox.swift; sourceTree = "<group>"; };
|
||||
5659F4971EA8D989004A4992 /* Pool.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Pool.swift; sourceTree = "<group>"; };
|
||||
5659F49F1EA8D997004A4992 /* Result.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result.swift; sourceTree = "<group>"; };
|
||||
565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertibleTests.swift; sourceTree = "<group>"; };
|
||||
565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchableRecordTests.swift; sourceTree = "<group>"; };
|
||||
565D5D701BBC694D00DC9BD4 /* Row+FoundationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Row+FoundationTests.swift"; sourceTree = "<group>"; };
|
||||
565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "StatementArguments+FoundationTests.swift"; sourceTree = "<group>"; };
|
||||
565EFAED1D0436CE00A8FA9D /* NumericOverflowTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NumericOverflowTests.swift; sourceTree = "<group>"; };
|
||||
@@ -832,7 +832,7 @@
|
||||
5665F85C203EE6030084C6C0 /* ColumnInfoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ColumnInfoTests.swift; sourceTree = "<group>"; };
|
||||
566A84192041146100E50BFD /* DatabaseSnapshot.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseSnapshot.swift; sourceTree = "<group>"; };
|
||||
566A8424204120B700E50BFD /* DatabaseSnapshotTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseSnapshotTests.swift; sourceTree = "<group>"; };
|
||||
566A843F2041914000E50BFD /* MutablePersistableChangesTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableChangesTests.swift; sourceTree = "<group>"; };
|
||||
566A843F2041914000E50BFD /* MutablePersistableRecordChangesTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordChangesTests.swift; sourceTree = "<group>"; };
|
||||
566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDefinition.swift; sourceTree = "<group>"; };
|
||||
566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDefinitionTests.swift; sourceTree = "<group>"; };
|
||||
566B91081FA4C3960012D5B0 /* Database+Statements.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Database+Statements.swift"; sourceTree = "<group>"; };
|
||||
@@ -849,13 +849,13 @@
|
||||
56741EA71E66A8B3003E422D /* FetchRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchRequestTests.swift; sourceTree = "<group>"; };
|
||||
5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6E31F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "RowConvertible+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F31F307F600095F066 /* Persistable+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Persistable+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PersistableRecord+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+ReferenceConvertible.swift"; sourceTree = "<group>"; };
|
||||
5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertibleDecodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A70B1F3087700095F066 /* DatabaseValueConvertibleEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertibleEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MutablePersistableEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RowConvertibleDecodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchableRecordDecodableTests.swift; sourceTree = "<group>"; };
|
||||
567517C720131B220094BF41 /* RecordBox.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecordBox.swift; sourceTree = "<group>"; };
|
||||
567A80521D41350C00C7DCEC /* IndexInfoTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IndexInfoTests.swift; sourceTree = "<group>"; };
|
||||
567DAF141EAB61ED00FC0928 /* grdb_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = grdb_config.h; sourceTree = "<group>"; };
|
||||
@@ -941,7 +941,7 @@
|
||||
56A8C22F1D1914540096E9D4 /* UUID.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UUID.swift; sourceTree = "<group>"; };
|
||||
56A8C2361D1914790096E9D4 /* FoundationNSUUIDTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FoundationNSUUIDTests.swift; sourceTree = "<group>"; };
|
||||
56AF746A1D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertibleEscapingTests.swift; sourceTree = "<group>"; };
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistablePersistenceConflictPolicyTests.swift; sourceTree = "<group>"; };
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordPersistenceConflictPolicyTests.swift; sourceTree = "<group>"; };
|
||||
56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowFromDictionaryLiteralTests.swift; sourceTree = "<group>"; };
|
||||
56B15D0A1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchedRecordsControllerTests.swift; sourceTree = "<group>"; };
|
||||
56B1C3CC201C8D0E001938DA /* Swift4.1.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Swift4.1.swift; sourceTree = "<group>"; };
|
||||
@@ -983,7 +983,7 @@
|
||||
56CC9242201E034D00CB597E /* PrefixWhileCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrefixWhileCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CC9245201E058000CB597E /* DropFirstCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DropFirstCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CC9250201E093E00CB597E /* PrefixCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrefixCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertible.swift; sourceTree = "<group>"; };
|
||||
56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchableRecord.swift; sourceTree = "<group>"; };
|
||||
56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FTS3.swift; sourceTree = "<group>"; };
|
||||
56CEB4F91EAA2F4D00BFAF62 /* FTS4.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FTS4.swift; sourceTree = "<group>"; };
|
||||
56CEB5101EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FTS3+QueryInterfaceRequest.swift"; sourceTree = "<group>"; };
|
||||
@@ -997,7 +997,7 @@
|
||||
56D3BE701F4EB1900034C6D2 /* FetchRecordStructTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchRecordStructTests.swift; sourceTree = "<group>"; };
|
||||
56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrimaryKeyInfoTests.swift; sourceTree = "<group>"; };
|
||||
56D507821F6D7A4500AE1C5B /* InsertRecordStructTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InsertRecordStructTests.swift; sourceTree = "<group>"; };
|
||||
56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "RowConvertible+TableMapping.swift"; sourceTree = "<group>"; };
|
||||
56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+TableRecord.swift"; sourceTree = "<group>"; };
|
||||
56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseCursorTests.swift; sourceTree = "<group>"; };
|
||||
56DAA2DA1DE9C827006E10C8 /* Cursor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Cursor.swift; sourceTree = "<group>"; };
|
||||
56DE7B101C3D93ED00861EB8 /* StatementArgumentsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StatementArgumentsTests.swift; sourceTree = "<group>"; };
|
||||
@@ -1025,8 +1025,8 @@
|
||||
56F3E7621E67F8C100BF0F01 /* Fixits-0.101.1.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Fixits-0.101.1.swift"; sourceTree = "<group>"; };
|
||||
56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "SQLExpression+QueryInterface.swift"; sourceTree = "<group>"; };
|
||||
56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowFromStatementTests.swift; sourceTree = "<group>"; };
|
||||
56FEE7FA1F47253700D930EA /* TableMappingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableMappingTests.swift; sourceTree = "<group>"; };
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableDeleteTests.swift; sourceTree = "<group>"; };
|
||||
56FEE7FA1F47253700D930EA /* TableRecordTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableRecordTests.swift; sourceTree = "<group>"; };
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordDeleteTests.swift; sourceTree = "<group>"; };
|
||||
56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordUniqueIndexTests.swift; sourceTree = "<group>"; };
|
||||
6340BF7F1E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordPersistenceConflictPolicy.swift; sourceTree = "<group>"; };
|
||||
DC2393C61ABE35F8003FF113 /* GRDB-Bridging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GRDB-Bridging.h"; sourceTree = "<group>"; };
|
||||
@@ -1173,17 +1173,17 @@
|
||||
name = DatabasePool;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
560B3FA41C19DFF800C58EC7 /* Persistable */ = {
|
||||
560B3FA41C19DFF800C58EC7 /* PersistableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
566A843F2041914000E50BFD /* MutablePersistableChangesTests.swift */,
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */,
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */,
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */,
|
||||
563363A91C933FF8000BE133 /* MutablePersistableTests.swift */,
|
||||
563363AA1C933FF8000BE133 /* PersistableTests.swift */,
|
||||
566A843F2041914000E50BFD /* MutablePersistableRecordChangesTests.swift */,
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */,
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */,
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */,
|
||||
563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */,
|
||||
563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */,
|
||||
);
|
||||
name = Persistable;
|
||||
name = PersistableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56176C581EACC2D8000F3F2B /* GRDBTests */ = {
|
||||
@@ -1203,12 +1203,12 @@
|
||||
path = GRDBTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56176C9C1EACEA8C000F3F2B /* TableMapping */ = {
|
||||
56176C9C1EACEA8C000F3F2B /* TableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56FEE7FA1F47253700D930EA /* TableMappingTests.swift */,
|
||||
56FEE7FA1F47253700D930EA /* TableRecordTests.swift */,
|
||||
);
|
||||
name = TableMapping;
|
||||
name = TableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56176C9E1EACEDF9000F3F2B /* Record */ = {
|
||||
@@ -1261,13 +1261,13 @@
|
||||
56300B5C1C53C38F005A543B /* QueryInterface */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */,
|
||||
56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */,
|
||||
5698AC021D9B9FCF0056AF8C /* QueryInterfaceExtensibilityTests.swift */,
|
||||
56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */,
|
||||
56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */,
|
||||
56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */,
|
||||
566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */,
|
||||
56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */,
|
||||
56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */,
|
||||
5698AC7F1DA380A20056AF8C /* VirtualTableModuleTests.swift */,
|
||||
);
|
||||
name = QueryInterface;
|
||||
@@ -1330,13 +1330,13 @@
|
||||
path = Support;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5674A7251F30A8EF0095F066 /* RowConvertible */ = {
|
||||
5674A7251F30A8EF0095F066 /* FetchableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */,
|
||||
565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */,
|
||||
5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */,
|
||||
565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */,
|
||||
);
|
||||
name = RowConvertible;
|
||||
name = FetchableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
569530FA1C9067CC00CF1A2B /* Crash */ = {
|
||||
@@ -1491,13 +1491,13 @@
|
||||
56A238251B9C74A90082EB20 /* Record */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5674A7251F30A8EF0095F066 /* FetchableRecord */,
|
||||
56B15D0A1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift */,
|
||||
564E73DE203D50B9000C443C /* JoinSupportTests.swift */,
|
||||
560B3FA41C19DFF800C58EC7 /* Persistable */,
|
||||
560B3FA41C19DFF800C58EC7 /* PersistableRecord */,
|
||||
56176C9E1EACEDF9000F3F2B /* Record */,
|
||||
5680520F201320E600E87861 /* RecordBoxTests.swift */,
|
||||
5674A7251F30A8EF0095F066 /* RowConvertible */,
|
||||
56176C9C1EACEA8C000F3F2B /* TableMapping */,
|
||||
56176C9C1EACEA8C000F3F2B /* TableRecord */,
|
||||
);
|
||||
name = Record;
|
||||
sourceTree = "<group>";
|
||||
@@ -1548,15 +1548,15 @@
|
||||
56A2389F1B9C753B0082EB20 /* Record */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */,
|
||||
5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */,
|
||||
56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */,
|
||||
31A7787C1C6A4DD600F507F6 /* FetchedRecordsController.swift */,
|
||||
560D92441C672C4B00F4F92B /* Persistable.swift */,
|
||||
5674A6F31F307F600095F066 /* Persistable+Encodable.swift */,
|
||||
560D92441C672C4B00F4F92B /* PersistableRecord.swift */,
|
||||
5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */,
|
||||
56A238A11B9C753B0082EB20 /* Record.swift */,
|
||||
567517C720131B220094BF41 /* RecordBox.swift */,
|
||||
56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */,
|
||||
5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */,
|
||||
56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */,
|
||||
560D92461C672C4B00F4F92B /* TableMapping.swift */,
|
||||
560D92461C672C4B00F4F92B /* TableRecord.swift */,
|
||||
);
|
||||
path = Record;
|
||||
sourceTree = "<group>";
|
||||
@@ -2170,9 +2170,9 @@
|
||||
files = (
|
||||
569A98EF2039B6F3008D7DBF /* Fixits-3.0.swift in Sources */,
|
||||
56B964BF1DA51D0A0002DA19 /* FTS5Pattern.swift in Sources */,
|
||||
56D51D061EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */,
|
||||
56D51D061EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */,
|
||||
565490CE1D5AE252005622CB /* NSNull.swift in Sources */,
|
||||
565490E41D5AE252005622CB /* TableMapping.swift in Sources */,
|
||||
565490E41D5AE252005622CB /* TableRecord.swift in Sources */,
|
||||
565490CF1D5AE252005622CB /* NSNumber.swift in Sources */,
|
||||
566475C01D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift in Sources */,
|
||||
56CEB51F1EAA328900BFAF62 /* FTS5+QueryInterface.swift in Sources */,
|
||||
@@ -2206,13 +2206,13 @@
|
||||
565490BF1D5AE236005622CB /* DatabaseValueConvertible.swift in Sources */,
|
||||
566B91191FA4C3F50012D5B0 /* DatabaseCollation.swift in Sources */,
|
||||
56CEB5591EAA359A00BFAF62 /* SQLExpression.swift in Sources */,
|
||||
5674A6FF1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */,
|
||||
5674A6FF1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */,
|
||||
56E06F181E85906E008AE2A4 /* Fixits-0.102.0.swift in Sources */,
|
||||
56B964A31DA51B4C0002DA19 /* FTS5.swift in Sources */,
|
||||
566475A01D97D8A000FF74B8 /* SQLCollection.swift in Sources */,
|
||||
565490BB1D5AE236005622CB /* DatabaseReader.swift in Sources */,
|
||||
5659F4A61EA8D997004A4992 /* Result.swift in Sources */,
|
||||
5674A6F81F307F600095F066 /* Persistable+Encodable.swift in Sources */,
|
||||
5674A6F81F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */,
|
||||
565490C31D5AE236005622CB /* RowAdapter.swift in Sources */,
|
||||
5698AD3B1DABAF4A0056AF8C /* FTS5CustomTokenizer.swift in Sources */,
|
||||
5659F49E1EA8D989004A4992 /* Pool.swift in Sources */,
|
||||
@@ -2238,12 +2238,12 @@
|
||||
5674A7071F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */,
|
||||
565490C61D5AE236005622CB /* Statement.swift in Sources */,
|
||||
56CEB5071EAA2F4D00BFAF62 /* FTS4.swift in Sources */,
|
||||
56CEB4F71EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */,
|
||||
56CEB4F71EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */,
|
||||
56F5ABD91D814330001F60CB /* Data.swift in Sources */,
|
||||
565490D41D5AE252005622CB /* (null) in Sources */,
|
||||
566475D21D981D5E00FF74B8 /* SQLFunctions.swift in Sources */,
|
||||
565490B61D5AE236005622CB /* Configuration.swift in Sources */,
|
||||
565490E11D5AE252005622CB /* Persistable.swift in Sources */,
|
||||
565490E11D5AE252005622CB /* PersistableRecord.swift in Sources */,
|
||||
56FC987E1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */,
|
||||
565490E01D5AE252005622CB /* FetchedRecordsController.swift in Sources */,
|
||||
566B91391FA4D3810012D5B0 /* TransactionObserver.swift in Sources */,
|
||||
@@ -2293,7 +2293,7 @@
|
||||
56BB6EAC1D3009B100A1CA52 /* SchedulingWatchdog.swift in Sources */,
|
||||
56300B791C53F592005A543B /* QueryInterfaceRequest.swift in Sources */,
|
||||
56CEB5561EAA359A00BFAF62 /* SQLExpression.swift in Sources */,
|
||||
5674A6F91F307F600095F066 /* Persistable+Encodable.swift in Sources */,
|
||||
5674A6F91F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */,
|
||||
5605F18E1C6B1A8700235C62 /* SQLCollatedExpression.swift in Sources */,
|
||||
566475D61D981D5E00FF74B8 /* SQLOperators.swift in Sources */,
|
||||
5698AD381DABAF4A0056AF8C /* FTS5CustomTokenizer.swift in Sources */,
|
||||
@@ -2328,8 +2328,8 @@
|
||||
566475BD1D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift in Sources */,
|
||||
56A238A51B9C753B0082EB20 /* Record.swift in Sources */,
|
||||
5671FC231DA3CAC9003BF4FF /* FTS3TokenizerDescriptor.swift in Sources */,
|
||||
56D51D031EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */,
|
||||
560D924C1C672C4B00F4F92B /* TableMapping.swift in Sources */,
|
||||
56D51D031EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */,
|
||||
560D924C1C672C4B00F4F92B /* TableRecord.swift in Sources */,
|
||||
567517C920131B220094BF41 /* RecordBox.swift in Sources */,
|
||||
5657AB121D10899D006283EF /* URL.swift in Sources */,
|
||||
5659F48B1EA8D94E004A4992 /* Utils.swift in Sources */,
|
||||
@@ -2343,12 +2343,12 @@
|
||||
5605F1941C6B1A8700235C62 /* QueryInterfaceQuery.swift in Sources */,
|
||||
56B7F43B1BEB42D500E39BBF /* Migration.swift in Sources */,
|
||||
5690C3431D23E82A00E59934 /* Data.swift in Sources */,
|
||||
5674A7001F307F600095F066 /* RowConvertible+Decodable.swift in Sources */,
|
||||
5674A7001F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */,
|
||||
5674A6E91F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift in Sources */,
|
||||
566B91161FA4C3F50012D5B0 /* DatabaseCollation.swift in Sources */,
|
||||
56FC987B1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */,
|
||||
56A238881B9C75030082EB20 /* Row.swift in Sources */,
|
||||
56CEB4F41EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */,
|
||||
56CEB4F41EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */,
|
||||
569531201C907A8C00CF1A2B /* DatabaseSchemaCache.swift in Sources */,
|
||||
5605F15E1C672E4000235C62 /* DatabaseDateComponents.swift in Sources */,
|
||||
56BF6D391DEF47DA006039A3 /* Fixits-0-90-1.swift in Sources */,
|
||||
@@ -2366,7 +2366,7 @@
|
||||
5605F1681C672E4000235C62 /* NSNumber.swift in Sources */,
|
||||
56CEB5041EAA2F4D00BFAF62 /* FTS4.swift in Sources */,
|
||||
5605F1741C672E4000235C62 /* StandardLibrary.swift in Sources */,
|
||||
560D92481C672C4B00F4F92B /* Persistable.swift in Sources */,
|
||||
560D92481C672C4B00F4F92B /* PersistableRecord.swift in Sources */,
|
||||
560D92431C672C3E00F4F92B /* StatementColumnConvertible.swift in Sources */,
|
||||
566475A51D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift in Sources */,
|
||||
5657AABC1D107001006283EF /* NSData.swift in Sources */,
|
||||
@@ -2391,7 +2391,7 @@
|
||||
56300B861C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56F26C1C1CEE3F32007969C4 /* RowAdapterTests.swift in Sources */,
|
||||
56DAA2D61DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */,
|
||||
56FF45441D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */,
|
||||
56FF45441D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */,
|
||||
56A238561B9C74A90082EB20 /* RecordPrimaryKeyNoneTests.swift in Sources */,
|
||||
562EA8331F17B9EB00FA528C /* CompilationSubClassTests.swift in Sources */,
|
||||
563363BE1C93FD5E000BE133 /* DatabaseQueueConcurrencyTests.swift in Sources */,
|
||||
@@ -2419,7 +2419,7 @@
|
||||
5674A71A1F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */,
|
||||
5698AC071D9B9FCF0056AF8C /* QueryInterfaceExtensibilityTests.swift in Sources */,
|
||||
56C3F7561CF9F12400F6A361 /* DatabaseSavepointTests.swift in Sources */,
|
||||
56B021CD1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */,
|
||||
56B021CD1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */,
|
||||
569531271C9087B700CF1A2B /* DatabaseQueueSchemaCacheTests.swift in Sources */,
|
||||
56B14E831D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */,
|
||||
562393341DEDFC5700A6B01F /* AnyCursorTests.swift in Sources */,
|
||||
@@ -2434,12 +2434,12 @@
|
||||
56B15D0B1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift in Sources */,
|
||||
56A238681B9C74A90082EB20 /* RecordInitializersTests.swift in Sources */,
|
||||
56CC9252201E093F00CB597E /* PrefixCursorTests.swift in Sources */,
|
||||
563363B01C933FF8000BE133 /* MutablePersistableTests.swift in Sources */,
|
||||
563363B01C933FF8000BE133 /* MutablePersistableRecordTests.swift in Sources */,
|
||||
5657AB421D108BA9006283EF /* FoundationNSDataTests.swift in Sources */,
|
||||
56CC922D201DFFB900CB597E /* DropWhileCursorTests.swift in Sources */,
|
||||
56D507621F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */,
|
||||
56176C6B1EACCCC9000F3F2B /* FTS5CustomTokenizerTests.swift in Sources */,
|
||||
56300B621C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56300B621C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56EA869F1C932597002BB4DF /* DatabasePoolReadOnlyTests.swift in Sources */,
|
||||
567F45AC1F888B2600030B59 /* TruncateOptimizationTests.swift in Sources */,
|
||||
5657AB621D108BA9006283EF /* FoundationNSURLTests.swift in Sources */,
|
||||
@@ -2451,7 +2451,7 @@
|
||||
5672DE5C1CDB72520022BA81 /* DatabaseQueueBackupTests.swift in Sources */,
|
||||
56A2385E1B9C74A90082EB20 /* RecordCopyTests.swift in Sources */,
|
||||
56176C6C1EACCCC9000F3F2B /* FTS5PatternTests.swift in Sources */,
|
||||
563363B21C933FF8000BE133 /* PersistableTests.swift in Sources */,
|
||||
563363B21C933FF8000BE133 /* PersistableRecordTests.swift in Sources */,
|
||||
56A238421B9C74A90082EB20 /* DatabaseValueConversionTests.swift in Sources */,
|
||||
564E73E0203D50B9000C443C /* JoinSupportTests.swift in Sources */,
|
||||
5674A7121F3087710095F066 /* DatabaseValueConvertibleEncodableTests.swift in Sources */,
|
||||
@@ -2465,10 +2465,10 @@
|
||||
5623936D1DEE0CD200A6B01F /* FlattenCursorTests.swift in Sources */,
|
||||
567A80571D41350C00C7DCEC /* IndexInfoTests.swift in Sources */,
|
||||
5623935B1DEE013C00A6B01F /* FilterCursorTests.swift in Sources */,
|
||||
5674A72D1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */,
|
||||
566A84412041914000E50BFD /* MutablePersistableChangesTests.swift in Sources */,
|
||||
5674A72D1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */,
|
||||
566A84412041914000E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */,
|
||||
56176C701EACCCC9000F3F2B /* FTS5WrapperTokenizerTests.swift in Sources */,
|
||||
56FEE7FF1F47253700D930EA /* TableMappingTests.swift in Sources */,
|
||||
56FEE7FF1F47253700D930EA /* TableRecordTests.swift in Sources */,
|
||||
56A2386A1B9C74A90082EB20 /* RecordSubClassTests.swift in Sources */,
|
||||
56A2383E1B9C74A90082EB20 /* DatabaseValueTests.swift in Sources */,
|
||||
567156181CB142AA007DC145 /* DatabaseQueueReadOnlyTests.swift in Sources */,
|
||||
@@ -2477,7 +2477,7 @@
|
||||
5698AC441DA2BED90056AF8C /* FTS3PatternTests.swift in Sources */,
|
||||
5698ACBA1DA6285E0056AF8C /* FTS3TokenizerTests.swift in Sources */,
|
||||
56176C6F1EACCCC9000F3F2B /* FTS5TokenizerTests.swift in Sources */,
|
||||
565B0FF01BBC7D980098DE03 /* RowConvertibleTests.swift in Sources */,
|
||||
565B0FF01BBC7D980098DE03 /* FetchableRecordTests.swift in Sources */,
|
||||
5698AC9A1DA4B0430056AF8C /* FTS4RecordTests.swift in Sources */,
|
||||
562393521DEDFEFB00A6B01F /* EnumeratedCursorTests.swift in Sources */,
|
||||
56A4CDB41D4234B200B1A9B9 /* SQLExpressionLiteralTests.swift in Sources */,
|
||||
@@ -2510,8 +2510,8 @@
|
||||
5623931C1DECC02000A6B01F /* RowFetchTests.swift in Sources */,
|
||||
562393641DEE06D300A6B01F /* CursorTests.swift in Sources */,
|
||||
5657AB5A1D108BA9006283EF /* FoundationNSStringTests.swift in Sources */,
|
||||
56300B6C1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift in Sources */,
|
||||
5674A7231F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */,
|
||||
56300B6C1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
5674A7231F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */,
|
||||
56F0B9921B6001C600A2F135 /* FoundationNSDateTests.swift in Sources */,
|
||||
56A238381B9C74A90082EB20 /* DatabaseTests.swift in Sources */,
|
||||
56300B5F1C53C38F005A543B /* QueryInterfaceRequestTests.swift in Sources */,
|
||||
@@ -2560,7 +2560,7 @@
|
||||
56D496B11D8133BC008276D7 /* DatabaseQueueReadOnlyTests.swift in Sources */,
|
||||
56D4968C1D81316E008276D7 /* RawRepresentable+DatabaseValueConvertibleTests.swift in Sources */,
|
||||
56D496981D81317B008276D7 /* DatabaseValueTests.swift in Sources */,
|
||||
56D4966B1D81309E008276D7 /* MutablePersistableDeleteTests.swift in Sources */,
|
||||
56D4966B1D81309E008276D7 /* MutablePersistableRecordDeleteTests.swift in Sources */,
|
||||
56D4965B1D81304E008276D7 /* FoundationNSDecimalNumberTests.swift in Sources */,
|
||||
562756431E963AAC0035B653 /* DatabaseWriterTests.swift in Sources */,
|
||||
56D496BF1D8135D4008276D7 /* TableDefinitionTests.swift in Sources */,
|
||||
@@ -2575,7 +2575,7 @@
|
||||
56DAA2D21DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */,
|
||||
56D496AE1D813345008276D7 /* DatabasePoolCollationTests.swift in Sources */,
|
||||
5698AC491DA2D48A0056AF8C /* FTS3RecordTests.swift in Sources */,
|
||||
56D496931D81316E008276D7 /* RowConvertibleTests.swift in Sources */,
|
||||
56D496931D81316E008276D7 /* FetchableRecordTests.swift in Sources */,
|
||||
56D496881D81316E008276D7 /* DatabaseValueConversionTests.swift in Sources */,
|
||||
56D496BA1D813482008276D7 /* DatabaseQueueSchemaCacheTests.swift in Sources */,
|
||||
56D496781D81309E008276D7 /* RecordSubClassTests.swift in Sources */,
|
||||
@@ -2611,12 +2611,12 @@
|
||||
56D496851D813147008276D7 /* StatementArgumentsTests.swift in Sources */,
|
||||
56D496B81D813465008276D7 /* DataMemoryTests.swift in Sources */,
|
||||
56D496541D812F5B008276D7 /* SQLExpressionLiteralTests.swift in Sources */,
|
||||
56D496961D81317B008276D7 /* PersistableTests.swift in Sources */,
|
||||
56D496961D81317B008276D7 /* PersistableRecordTests.swift in Sources */,
|
||||
5698AC9E1DA4B0430056AF8C /* FTS4TableBuilderTests.swift in Sources */,
|
||||
5674A72A1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */,
|
||||
566A84402041914000E50BFD /* MutablePersistableChangesTests.swift in Sources */,
|
||||
5674A72A1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */,
|
||||
566A84402041914000E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */,
|
||||
56176C5E1EACCCC7000F3F2B /* FTS5WrapperTokenizerTests.swift in Sources */,
|
||||
56FEE7FB1F47253700D930EA /* TableMappingTests.swift in Sources */,
|
||||
56FEE7FB1F47253700D930EA /* TableRecordTests.swift in Sources */,
|
||||
56D496641D81304E008276D7 /* FoundationUUIDTests.swift in Sources */,
|
||||
56D496921D81316E008276D7 /* RowFromDictionaryLiteralTests.swift in Sources */,
|
||||
562206081E420EA4005860AC /* DatabasePoolReadOnlyTests.swift in Sources */,
|
||||
@@ -2642,7 +2642,7 @@
|
||||
564F9C1E1F069B4E00877A00 /* DatabaseAggregateTests.swift in Sources */,
|
||||
56D496861D813147008276D7 /* UpdateStatementTests.swift in Sources */,
|
||||
56D4965D1D81304E008276D7 /* FoundationNSNumberTests.swift in Sources */,
|
||||
56B021C91D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */,
|
||||
56B021C91D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */,
|
||||
56D496C11D81373A008276D7 /* DatabaseQueueBackupTests.swift in Sources */,
|
||||
562393721DEE104400A6B01F /* MapCursorTests.swift in Sources */,
|
||||
56D496571D81303E008276D7 /* FoundationDateComponentsTests.swift in Sources */,
|
||||
@@ -2650,17 +2650,17 @@
|
||||
5622060C1E420EB3005860AC /* DatabaseQueueConcurrencyTests.swift in Sources */,
|
||||
56E5D8041B4D424400430942 /* GRDBTestCase.swift in Sources */,
|
||||
567DAF351EAB789800FC0928 /* DatabaseLogErrorTests.swift in Sources */,
|
||||
56D496681D813086008276D7 /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56D496681D813086008276D7 /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
5623934E1DEDFEFB00A6B01F /* EnumeratedCursorTests.swift in Sources */,
|
||||
568068311EBBA26100EFB8AA /* SQLRequestTests.swift in Sources */,
|
||||
56D496B41D8133F8008276D7 /* DatabaseTests.swift in Sources */,
|
||||
56D496951D81317B008276D7 /* MutablePersistableTests.swift in Sources */,
|
||||
56D496951D81317B008276D7 /* MutablePersistableRecordTests.swift in Sources */,
|
||||
5698AC801DA380A20056AF8C /* VirtualTableModuleTests.swift in Sources */,
|
||||
56D496821D813131008276D7 /* TransactionObserverTests.swift in Sources */,
|
||||
56D496941D81317B008276D7 /* SchedulingWatchdogTests.swift in Sources */,
|
||||
5674A7201F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */,
|
||||
5674A7201F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */,
|
||||
56D496551D812F83008276D7 /* FoundationDataTests.swift in Sources */,
|
||||
56D4966A1D813086008276D7 /* TableMapping+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56D4966A1D813086008276D7 /* TableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
562206071E420EA4005860AC /* DatabasePoolConcurrencyTests.swift in Sources */,
|
||||
5698ACB61DA6285E0056AF8C /* FTS3TokenizerTests.swift in Sources */,
|
||||
56D4965C1D81304E008276D7 /* FoundationNSNullTests.swift in Sources */,
|
||||
@@ -2691,7 +2691,7 @@
|
||||
5659F4901EA8D964004A4992 /* ReadWriteBox.swift in Sources */,
|
||||
566A841A2041146100E50BFD /* DatabaseSnapshot.swift in Sources */,
|
||||
569EF0E2200D2D8400A9FA45 /* DatabaseRegion.swift in Sources */,
|
||||
56CEB4F11EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */,
|
||||
56CEB4F11EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */,
|
||||
56300B781C53F592005A543B /* QueryInterfaceRequest.swift in Sources */,
|
||||
5605F18D1C6B1A8700235C62 /* SQLCollatedExpression.swift in Sources */,
|
||||
566B91331FA4D3810012D5B0 /* TransactionObserver.swift in Sources */,
|
||||
@@ -2711,7 +2711,7 @@
|
||||
5698AC371D9E5A590056AF8C /* FTS3Pattern.swift in Sources */,
|
||||
564F9C2D1F075DD200877A00 /* DatabaseFunction.swift in Sources */,
|
||||
5659F4981EA8D989004A4992 /* Pool.swift in Sources */,
|
||||
5674A6F41F307F600095F066 /* Persistable+Encodable.swift in Sources */,
|
||||
5674A6F41F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */,
|
||||
56CEB54C1EAA359A00BFAF62 /* SQLExpressible.swift in Sources */,
|
||||
5664759A1D97D8A000FF74B8 /* SQLCollection.swift in Sources */,
|
||||
567404881CEF84C8003ED5CC /* RowAdapter.swift in Sources */,
|
||||
@@ -2728,14 +2728,14 @@
|
||||
56CEB55A1EAA359A00BFAF62 /* SQLOrdering.swift in Sources */,
|
||||
56BF6D2F1DEF47DA006039A3 /* Fixits-0-84-0.swift in Sources */,
|
||||
56A238811B9C75030082EB20 /* DatabaseError.swift in Sources */,
|
||||
56D51D001EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */,
|
||||
56D51D001EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */,
|
||||
566475BA1D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift in Sources */,
|
||||
56A238851B9C75030082EB20 /* DatabaseValue.swift in Sources */,
|
||||
5671FC201DA3CAC9003BF4FF /* FTS3TokenizerDescriptor.swift in Sources */,
|
||||
56A238A41B9C753B0082EB20 /* Record.swift in Sources */,
|
||||
56CEB5451EAA359A00BFAF62 /* Column.swift in Sources */,
|
||||
5657AB0F1D10899D006283EF /* URL.swift in Sources */,
|
||||
560D924B1C672C4B00F4F92B /* TableMapping.swift in Sources */,
|
||||
560D924B1C672C4B00F4F92B /* TableRecord.swift in Sources */,
|
||||
56DAA2DB1DE9C827006E10C8 /* Cursor.swift in Sources */,
|
||||
5674A6EB1F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */,
|
||||
560A37A41C8F625000949E71 /* DatabasePool.swift in Sources */,
|
||||
@@ -2756,7 +2756,7 @@
|
||||
563363C01C942C04000BE133 /* DatabaseReader.swift in Sources */,
|
||||
5605F1651C672E4000235C62 /* NSNull.swift in Sources */,
|
||||
56CEB5191EAA328900BFAF62 /* FTS5+QueryInterface.swift in Sources */,
|
||||
5674A6FB1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */,
|
||||
5674A6FB1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */,
|
||||
5698AC781DA37DCB0056AF8C /* VirtualTableModule.swift in Sources */,
|
||||
56A2387D1B9C75030082EB20 /* Database.swift in Sources */,
|
||||
566AD8B21D5318F4002EC1A8 /* TableDefinition.swift in Sources */,
|
||||
@@ -2767,7 +2767,7 @@
|
||||
56A238871B9C75030082EB20 /* Row.swift in Sources */,
|
||||
5605F1731C672E4000235C62 /* StandardLibrary.swift in Sources */,
|
||||
567517C820131B220094BF41 /* RecordBox.swift in Sources */,
|
||||
560D92471C672C4B00F4F92B /* Persistable.swift in Sources */,
|
||||
560D92471C672C4B00F4F92B /* PersistableRecord.swift in Sources */,
|
||||
566475A21D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift in Sources */,
|
||||
5674A6E41F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift in Sources */,
|
||||
5657AAB91D107001006283EF /* NSData.swift in Sources */,
|
||||
|
||||
@@ -325,7 +325,7 @@ extension Database {
|
||||
/// 2 score INTEGER 0 NULL 0
|
||||
///
|
||||
/// See `Database.columns(in:)` and https://www.sqlite.org/pragma.html#pragma_table_info
|
||||
public struct ColumnInfo : RowConvertible {
|
||||
public struct ColumnInfo : FetchableRecord {
|
||||
let cid: Int
|
||||
|
||||
/// The column name
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/// The protocol for all types that define a way to fetch database content.
|
||||
///
|
||||
/// struct Player: RowConvertible { ... }
|
||||
/// struct Player: FetchableRecord { ... }
|
||||
/// let request: ... // Some FetchRequest that fetches Player
|
||||
/// try request.fetchCursor(db) // Cursor of Player
|
||||
/// try request.fetchAll(db) // [Player]
|
||||
|
||||
+2
-2
@@ -482,7 +482,7 @@ extension Row {
|
||||
///
|
||||
/// See https://github.com/groue/GRDB.swift/blob/master/README.md#joined-queries-support
|
||||
/// for more information.
|
||||
public subscript<Record: RowConvertible>(_ scope: String) -> Record {
|
||||
public subscript<Record: FetchableRecord>(_ scope: String) -> Record {
|
||||
guard let scopedRow = scoped(on: scope) else {
|
||||
// Programmer error
|
||||
fatalError("no such scope: \(scope)")
|
||||
@@ -498,7 +498,7 @@ extension Row {
|
||||
///
|
||||
/// See https://github.com/groue/GRDB.swift/blob/master/README.md#joined-queries-support
|
||||
/// for more information.
|
||||
public subscript<Record: RowConvertible>(_ scope: String) -> Record? {
|
||||
public subscript<Record: FetchableRecord>(_ scope: String) -> Record? {
|
||||
guard let scopedRow = scoped(on: scope), scopedRow.containsNonNullValue else {
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ extension QueryInterfaceRequest {
|
||||
public func fetch(_ db: Database) -> Any { preconditionFailure() }
|
||||
}
|
||||
|
||||
extension RowConvertible {
|
||||
extension FetchableRecord {
|
||||
@available(*, unavailable, renamed:"fetchCursor")
|
||||
public static func fetch(_ statement: SelectStatement, arguments: StatementArguments? = nil, adapter: RowAdapter? = nil) -> Any { preconditionFailure() }
|
||||
@available(*, unavailable, renamed:"fetchCursor")
|
||||
@@ -39,7 +39,7 @@ extension RowConvertible {
|
||||
public static func fetch(_ db: Database, _ sql: String, arguments: StatementArguments? = nil, adapter: RowAdapter? = nil) -> Any { preconditionFailure() }
|
||||
}
|
||||
|
||||
extension RowConvertible where Self: TableMapping {
|
||||
extension FetchableRecord where Self: TableRecord {
|
||||
@available(*, unavailable, renamed:"fetchCursor")
|
||||
public static func fetch(_ db: Database) -> Any { preconditionFailure() }
|
||||
@available(*, unavailable, renamed:"fetchCursor")
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
@available(*, unavailable, renamed:"FetchRequest")
|
||||
public typealias Request = FetchRequest
|
||||
|
||||
@available(*, unavailable, renamed:"FetchableRecord")
|
||||
public typealias RowConvertible = FetchableRecord
|
||||
|
||||
@available(*, unavailable, renamed:"TableRecord")
|
||||
public typealias TableMapping = TableRecord
|
||||
|
||||
@available(*, unavailable, renamed:"MutablePersistableRecord")
|
||||
public typealias MutablePersistable = MutablePersistableRecord
|
||||
|
||||
@available(*, unavailable, renamed:"PersistableRecord")
|
||||
public typealias Persistable = PersistableRecord
|
||||
@@ -22,7 +22,7 @@ extension QueryInterfaceRequest {
|
||||
}
|
||||
}
|
||||
|
||||
extension TableMapping {
|
||||
extension TableRecord {
|
||||
|
||||
// MARK: Full Text Search
|
||||
|
||||
@@ -35,8 +35,8 @@ extension TableMapping {
|
||||
/// database row.
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func matching(_ pattern: FTS3Pattern?) -> QueryInterfaceRequest<Self> {
|
||||
return all().matching(pattern)
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
/// database row.
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public func matching(_ pattern: FTS5Pattern?) -> QueryInterfaceRequest<T> {
|
||||
switch query.source {
|
||||
case .table(let name, let alias)?:
|
||||
@@ -31,7 +31,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
extension TableMapping {
|
||||
extension TableRecord {
|
||||
|
||||
// MARK: Full Text Search
|
||||
|
||||
|
||||
@@ -246,7 +246,7 @@ extension QueryInterfaceRequest {
|
||||
}
|
||||
}
|
||||
|
||||
extension QueryInterfaceRequest where T: TableMapping {
|
||||
extension QueryInterfaceRequest where T: TableRecord {
|
||||
|
||||
/// Creates a QueryInterfaceRequest with the provided primary key *predicate*.
|
||||
///
|
||||
@@ -255,8 +255,8 @@ extension QueryInterfaceRequest where T: TableMapping {
|
||||
/// request = request.filter(key: 1)
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public func filter<PrimaryKeyType: DatabaseValueConvertible>(key: PrimaryKeyType?) -> QueryInterfaceRequest<T> {
|
||||
guard let key = key else {
|
||||
return T.none()
|
||||
@@ -272,8 +272,8 @@ extension QueryInterfaceRequest where T: TableMapping {
|
||||
/// request = request.filter(keys: [1, 2, 3])
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public func filter<Sequence: Swift.Sequence>(keys: Sequence) -> QueryInterfaceRequest<T> where Sequence.Element: DatabaseValueConvertible {
|
||||
let keys = Array(keys)
|
||||
let makePredicate: (Column) -> SQLExpression
|
||||
@@ -308,8 +308,8 @@ extension QueryInterfaceRequest where T: TableMapping {
|
||||
/// index on the key columns.
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public func filter(key: [String: DatabaseValueConvertible?]?) -> QueryInterfaceRequest<T> {
|
||||
guard let key = key else {
|
||||
return T.none()
|
||||
@@ -327,8 +327,8 @@ extension QueryInterfaceRequest where T: TableMapping {
|
||||
/// index on the key columns.
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public func filter(keys: [[String: DatabaseValueConvertible?]]) -> QueryInterfaceRequest<T> {
|
||||
guard !keys.isEmpty else {
|
||||
return T.none()
|
||||
@@ -365,7 +365,7 @@ extension QueryInterfaceRequest where T: TableMapping {
|
||||
}
|
||||
}
|
||||
|
||||
extension QueryInterfaceRequest where RowDecoder: MutablePersistable {
|
||||
extension QueryInterfaceRequest where RowDecoder: MutablePersistableRecord {
|
||||
|
||||
// MARK: Deleting
|
||||
|
||||
@@ -381,7 +381,7 @@ extension QueryInterfaceRequest where RowDecoder: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
extension TableMapping {
|
||||
extension TableRecord {
|
||||
|
||||
// MARK: Request Derivation
|
||||
|
||||
@@ -391,8 +391,8 @@ extension TableMapping {
|
||||
/// let request = Player.all()
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func all() -> QueryInterfaceRequest<Self> {
|
||||
let query = QueryInterfaceQuery(
|
||||
select: databaseSelection,
|
||||
@@ -435,8 +435,8 @@ extension TableMapping {
|
||||
/// let request = Player.filter(Column("email") == "arthur@example.com")
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func filter(_ predicate: SQLExpressible) -> QueryInterfaceRequest<Self> {
|
||||
return all().filter(predicate)
|
||||
}
|
||||
@@ -447,8 +447,8 @@ extension TableMapping {
|
||||
/// let request = Player.filter(key: 1)
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func filter<PrimaryKeyType: DatabaseValueConvertible>(key: PrimaryKeyType?) -> QueryInterfaceRequest<Self> {
|
||||
return all().filter(key: key)
|
||||
}
|
||||
@@ -459,8 +459,8 @@ extension TableMapping {
|
||||
/// let request = Player.filter(keys: [1, 2, 3])
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func filter<Sequence: Swift.Sequence>(keys: Sequence) -> QueryInterfaceRequest<Self> where Sequence.Element: DatabaseValueConvertible {
|
||||
return all().filter(keys: keys)
|
||||
}
|
||||
@@ -474,8 +474,8 @@ extension TableMapping {
|
||||
/// index on the key columns.
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func filter(key: [String: DatabaseValueConvertible?]?) -> QueryInterfaceRequest<Self> {
|
||||
return all().filter(key: key)
|
||||
}
|
||||
@@ -489,8 +489,8 @@ extension TableMapping {
|
||||
/// index on the key columns.
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func filter(keys: [[String: DatabaseValueConvertible?]]) -> QueryInterfaceRequest<Self> {
|
||||
return all().filter(keys: keys)
|
||||
}
|
||||
@@ -501,8 +501,8 @@ extension TableMapping {
|
||||
/// let request = Player.filter(sql: "email = ?", arguments: ["arthur@example.com"])
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func filter(sql: String, arguments: StatementArguments? = nil) -> QueryInterfaceRequest<Self> {
|
||||
return all().filter(sql: sql, arguments: arguments)
|
||||
}
|
||||
@@ -514,8 +514,8 @@ extension TableMapping {
|
||||
/// let request = Player.order(Column("name"))
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func order(_ orderings: SQLOrderingTerm...) -> QueryInterfaceRequest<Self> {
|
||||
return all().order(orderings)
|
||||
}
|
||||
@@ -527,8 +527,8 @@ extension TableMapping {
|
||||
/// let request = Player.order([Column("name")])
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func order(_ orderings: [SQLOrderingTerm]) -> QueryInterfaceRequest<Self> {
|
||||
return all().order(orderings)
|
||||
}
|
||||
@@ -539,8 +539,8 @@ extension TableMapping {
|
||||
/// let request = Player.order(sql: "name")
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func order(sql: String, arguments: StatementArguments? = nil) -> QueryInterfaceRequest<Self> {
|
||||
return all().order(sql: sql, arguments: arguments)
|
||||
}
|
||||
@@ -552,8 +552,8 @@ extension TableMapping {
|
||||
/// let request = Player.limit(1)
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
public static func limit(_ limit: Int, offset: Int? = nil) -> QueryInterfaceRequest<Self> {
|
||||
return all().limit(limit, offset: offset)
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
/// AllColumns is the `*` in `SELECT *`.
|
||||
///
|
||||
/// You use AllColumns in your custom implementation of
|
||||
/// TableMapping.databaseSelection.
|
||||
/// TableRecord.databaseSelection.
|
||||
///
|
||||
/// For example:
|
||||
///
|
||||
/// struct Player : TableMapping {
|
||||
/// struct Player : TableRecord {
|
||||
/// static var databaseTableName = "players"
|
||||
/// static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
/// }
|
||||
|
||||
+1
-1
@@ -249,7 +249,7 @@ private struct RowDecoder: Decoder {
|
||||
}
|
||||
}
|
||||
|
||||
extension RowConvertible where Self: Decodable {
|
||||
extension FetchableRecord where Self: Decodable {
|
||||
/// Initializes a record from `row`.
|
||||
public init(row: Row) {
|
||||
try! self.init(from: RowDecoder(row: row, codingPath: []))
|
||||
+9
-9
@@ -1,4 +1,4 @@
|
||||
extension RowConvertible where Self: TableMapping {
|
||||
extension FetchableRecord where Self: TableRecord {
|
||||
|
||||
// MARK: Fetching All
|
||||
|
||||
@@ -18,8 +18,8 @@ extension RowConvertible where Self: TableMapping {
|
||||
/// The cursor must be iterated in a protected dispath queue.
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
///
|
||||
/// - parameter db: A database connection.
|
||||
/// - returns: A cursor over fetched records.
|
||||
@@ -34,8 +34,8 @@ extension RowConvertible where Self: TableMapping {
|
||||
/// let players = try Player.fetchAll(db) // [Player]
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
///
|
||||
/// - parameter db: A database connection.
|
||||
/// - throws: A DatabaseError is thrown whenever an SQLite error occurs.
|
||||
@@ -49,8 +49,8 @@ extension RowConvertible where Self: TableMapping {
|
||||
/// let player = try Player.fetchOne(db) // Player?
|
||||
///
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableMapping.databaseSelection` property, or
|
||||
/// for individual requests with the `TableMapping.select` method.
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
///
|
||||
/// - parameter db: A database connection.
|
||||
/// - throws: A DatabaseError is thrown whenever an SQLite error occurs.
|
||||
@@ -59,7 +59,7 @@ extension RowConvertible where Self: TableMapping {
|
||||
}
|
||||
}
|
||||
|
||||
extension RowConvertible where Self: TableMapping {
|
||||
extension FetchableRecord where Self: TableRecord {
|
||||
|
||||
// MARK: Fetching by Single-Column Primary Key
|
||||
|
||||
@@ -119,7 +119,7 @@ extension RowConvertible where Self: TableMapping {
|
||||
}
|
||||
}
|
||||
|
||||
extension RowConvertible where Self: TableMapping {
|
||||
extension FetchableRecord where Self: TableRecord {
|
||||
|
||||
// MARK: Fetching by Key
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import SQLite3
|
||||
#endif
|
||||
|
||||
/// Types that adopt RowConvertible can be initialized from a database Row.
|
||||
/// Types that adopt FetchableRecord can be initialized from a database Row.
|
||||
///
|
||||
/// let row = try Row.fetchOne(db, "SELECT ...")!
|
||||
/// let player = Player(row)
|
||||
@@ -21,8 +21,8 @@
|
||||
/// try Player.fetchAll(statement, arguments:...) // [Player]
|
||||
/// try Player.fetchOne(statement, arguments:...) // Player?
|
||||
///
|
||||
/// RowConvertible is adopted by Record.
|
||||
public protocol RowConvertible {
|
||||
/// FetchableRecord is adopted by Record.
|
||||
public protocol FetchableRecord {
|
||||
|
||||
/// Creates a record from `row`.
|
||||
///
|
||||
@@ -34,11 +34,11 @@ public protocol RowConvertible {
|
||||
|
||||
/// A cursor of records. For example:
|
||||
///
|
||||
/// struct Player : RowConvertible { ... }
|
||||
/// struct Player : FetchableRecord { ... }
|
||||
/// try dbQueue.inDatabase { db in
|
||||
/// let players: RecordCursor<Player> = try Player.fetchCursor(db, "SELECT * FROM players")
|
||||
/// }
|
||||
public final class RecordCursor<Record: RowConvertible> : Cursor {
|
||||
public final class RecordCursor<Record: FetchableRecord> : Cursor {
|
||||
private let statement: SelectStatement
|
||||
private let row: Row // Reused for performance
|
||||
private let sqliteStatement: SQLiteStatement
|
||||
@@ -67,7 +67,7 @@ public final class RecordCursor<Record: RowConvertible> : Cursor {
|
||||
}
|
||||
}
|
||||
|
||||
extension RowConvertible {
|
||||
extension FetchableRecord {
|
||||
|
||||
// MARK: Fetching From SelectStatement
|
||||
|
||||
@@ -125,7 +125,7 @@ extension RowConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
extension RowConvertible {
|
||||
extension FetchableRecord {
|
||||
|
||||
// MARK: Fetching From SQL
|
||||
|
||||
@@ -183,9 +183,9 @@ extension RowConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
extension FetchRequest where RowDecoder: RowConvertible {
|
||||
extension FetchRequest where RowDecoder: FetchableRecord {
|
||||
|
||||
// MARK: Fetching Record and RowConvertible
|
||||
// MARK: Fetching Record and FetchableRecord
|
||||
|
||||
/// A cursor over fetched records.
|
||||
///
|
||||
@@ -9,7 +9,7 @@ import Foundation
|
||||
///
|
||||
/// See https://github.com/groue/GRDB.swift#fetchedrecordscontroller for
|
||||
/// more information.
|
||||
public final class FetchedRecordsController<Record: RowConvertible> {
|
||||
public final class FetchedRecordsController<Record: FetchableRecord> {
|
||||
|
||||
// MARK: - Initialization
|
||||
|
||||
@@ -393,7 +393,7 @@ public final class FetchedRecordsController<Record: RowConvertible> {
|
||||
fileprivate var errorHandler: ((FetchedRecordsController<Record>, Error) -> ())?
|
||||
}
|
||||
|
||||
extension FetchedRecordsController where Record: TableMapping {
|
||||
extension FetchedRecordsController where Record: TableRecord {
|
||||
|
||||
// MARK: - Initialization
|
||||
|
||||
@@ -510,7 +510,7 @@ extension FetchedRecordsController where Record: TableMapping {
|
||||
|
||||
/// FetchedRecordsController adopts TransactionObserverType so that it can
|
||||
/// monitor changes to its fetched records.
|
||||
private final class FetchedRecordsObserver<Record: RowConvertible> : TransactionObserver {
|
||||
private final class FetchedRecordsObserver<Record: FetchableRecord> : TransactionObserver {
|
||||
var isValid: Bool
|
||||
var needsComputeChanges: Bool
|
||||
var items: [Item<Record>]! // ought to be not nil when observer has started tracking transactions
|
||||
@@ -861,8 +861,8 @@ private func identicalItemArrays<Record>(_ lhs: [Item<Record>], _ rhs: [Item<Rec
|
||||
|
||||
// MARK: - UITableView Support
|
||||
|
||||
private typealias ItemComparator<Record: RowConvertible> = (Item<Record>, Item<Record>) -> Bool
|
||||
private typealias ItemComparatorFactory<Record: RowConvertible> = (Database) throws -> ItemComparator<Record>
|
||||
private typealias ItemComparator<Record: FetchableRecord> = (Item<Record>, Item<Record>) -> Bool
|
||||
private typealias ItemComparatorFactory<Record: FetchableRecord> = (Database) throws -> ItemComparator<Record>
|
||||
|
||||
extension FetchedRecordsController {
|
||||
|
||||
@@ -900,7 +900,7 @@ extension FetchedRecordsController {
|
||||
}
|
||||
}
|
||||
|
||||
extension FetchedRecordsController where Record: MutablePersistable {
|
||||
extension FetchedRecordsController where Record: MutablePersistableRecord {
|
||||
|
||||
/// Returns the indexPath of a given record.
|
||||
///
|
||||
@@ -915,7 +915,7 @@ extension FetchedRecordsController where Record: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private enum ItemChange<T: RowConvertible> {
|
||||
private enum ItemChange<T: FetchableRecord> {
|
||||
case insertion(item: Item<T>, indexPath: IndexPath)
|
||||
case deletion(item: Item<T>, indexPath: IndexPath)
|
||||
case move(item: Item<T>, indexPath: IndexPath, newIndexPath: IndexPath, changes: [String: DatabaseValue])
|
||||
@@ -1010,7 +1010,7 @@ extension FetchedRecordChange: CustomStringConvertible {
|
||||
}
|
||||
|
||||
/// A section given by a FetchedRecordsController.
|
||||
public struct FetchedRecordsSectionInfo<Record: RowConvertible> {
|
||||
public struct FetchedRecordsSectionInfo<Record: FetchableRecord> {
|
||||
fileprivate let controller: FetchedRecordsController<Record>
|
||||
|
||||
/// The number of records (rows) in the section.
|
||||
@@ -1035,7 +1035,7 @@ public struct FetchedRecordsSectionInfo<Record: RowConvertible> {
|
||||
|
||||
// MARK: - Item
|
||||
|
||||
private final class Item<T: RowConvertible> : RowConvertible, Equatable {
|
||||
private final class Item<T: FetchableRecord> : FetchableRecord, Equatable {
|
||||
let row: Row
|
||||
|
||||
// Records are lazily loaded
|
||||
|
||||
+7
-7
@@ -1,4 +1,4 @@
|
||||
private struct PersistableKeyedEncodingContainer<Key: CodingKey> : KeyedEncodingContainerProtocol {
|
||||
private struct PersistableRecordKeyedEncodingContainer<Key: CodingKey> : KeyedEncodingContainerProtocol {
|
||||
let encode: (_ value: DatabaseValueConvertible?, _ key: String) -> Void
|
||||
|
||||
init(encode: @escaping (_ value: DatabaseValueConvertible?, _ key: String) -> Void) {
|
||||
@@ -40,7 +40,7 @@ private struct PersistableKeyedEncodingContainer<Key: CodingKey> : KeyedEncoding
|
||||
// This allows us to encode Date as String, for example.
|
||||
encode((value as! DatabaseValueConvertible), key.stringValue)
|
||||
} else {
|
||||
try value.encode(to: PersistableEncoder(codingPath: [key], encode: encode))
|
||||
try value.encode(to: PersistableRecordEncoder(codingPath: [key], encode: encode))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,12 +140,12 @@ private struct DatabaseValueEncodingContainer : SingleValueEncodingContainer {
|
||||
// This allows us to encode Date as String, for example.
|
||||
encode(dbValueConvertible.databaseValue, key.stringValue)
|
||||
} else {
|
||||
try value.encode(to: PersistableEncoder(codingPath: [key], encode: encode))
|
||||
try value.encode(to: PersistableRecordEncoder(codingPath: [key], encode: encode))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private struct PersistableEncoder : Encoder {
|
||||
private struct PersistableRecordEncoder : Encoder {
|
||||
/// The path of coding keys taken to get to this point in encoding.
|
||||
/// A `nil` value indicates an unkeyed container.
|
||||
var codingPath: [CodingKey]
|
||||
@@ -171,7 +171,7 @@ private struct PersistableEncoder : Encoder {
|
||||
guard codingPath.isEmpty else {
|
||||
fatalError("unkeyed encoding is not supported")
|
||||
}
|
||||
return KeyedEncodingContainer(PersistableKeyedEncodingContainer<Key>(encode: encode))
|
||||
return KeyedEncodingContainer(PersistableRecordKeyedEncodingContainer<Key>(encode: encode))
|
||||
}
|
||||
|
||||
/// Returns an encoding container appropriate for holding multiple unkeyed values.
|
||||
@@ -194,7 +194,7 @@ private struct PersistableEncoder : Encoder {
|
||||
}
|
||||
}
|
||||
|
||||
extension MutablePersistable where Self: Encodable {
|
||||
extension MutablePersistableRecord where Self: Encodable {
|
||||
public func encode(to container: inout PersistenceContainer) {
|
||||
// The inout container parameter won't enter an escaping closure since
|
||||
// SE-0035: https://github.com/apple/swift-evolution/blob/master/proposals/0035-limit-inout-capture.md
|
||||
@@ -202,7 +202,7 @@ extension MutablePersistable where Self: Encodable {
|
||||
// So let's use it in a non-escaping closure:
|
||||
func encode(_ encode: (_ value: DatabaseValueConvertible?, _ key: String) -> Void) {
|
||||
withoutActuallyEscaping(encode) { escapableEncode in
|
||||
let encoder = PersistableEncoder(codingPath: [], encode: escapableEncode)
|
||||
let encoder = PersistableRecordEncoder(codingPath: [], encode: escapableEncode)
|
||||
try! self.encode(to: encoder)
|
||||
}
|
||||
}
|
||||
@@ -12,12 +12,12 @@ extension Database.ConflictResolution {
|
||||
|
||||
// MARK: - PersistenceError
|
||||
|
||||
/// An error thrown by a type that adopts Persistable.
|
||||
/// An error thrown by a type that adopts PersistableRecord.
|
||||
public enum PersistenceError: Error, CustomStringConvertible {
|
||||
|
||||
/// Thrown by MutablePersistable.update() when no matching row could be
|
||||
/// Thrown by MutablePersistableRecord.update() when no matching row could be
|
||||
/// found in the database.
|
||||
case recordNotFound(MutablePersistable)
|
||||
case recordNotFound(MutablePersistableRecord)
|
||||
}
|
||||
|
||||
// CustomStringConvertible
|
||||
@@ -25,8 +25,8 @@ extension PersistenceError {
|
||||
/// :nodoc:
|
||||
public var description: String {
|
||||
switch self {
|
||||
case .recordNotFound(let persistable):
|
||||
return "Not found: \(persistable)"
|
||||
case .recordNotFound(let record):
|
||||
return "Not found: \(record)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,9 +34,9 @@ extension PersistenceError {
|
||||
// MARK: - PersistenceContainer
|
||||
|
||||
/// Use persistence containers in the `encode(to:)` method of your
|
||||
/// persistable records:
|
||||
/// encodable records:
|
||||
///
|
||||
/// struct Player : MutablePersistable {
|
||||
/// struct Player : MutablePersistableRecord {
|
||||
/// var id: Int64?
|
||||
/// var name: String?
|
||||
///
|
||||
@@ -81,7 +81,7 @@ public struct PersistenceContainer {
|
||||
/// // Meh
|
||||
/// var container = PersistenceContainer()
|
||||
/// record.encode(to: container)
|
||||
init(_ record: MutablePersistable) {
|
||||
init(_ record: MutablePersistableRecord) {
|
||||
storage = [:]
|
||||
record.encode(to: &self)
|
||||
}
|
||||
@@ -137,7 +137,7 @@ public struct PersistenceContainer {
|
||||
}
|
||||
|
||||
extension Row {
|
||||
convenience init(_ record: MutablePersistable) {
|
||||
convenience init(_ record: MutablePersistableRecord) {
|
||||
self.init(PersistenceContainer(record))
|
||||
}
|
||||
|
||||
@@ -146,12 +146,12 @@ extension Row {
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - MutablePersistable
|
||||
// MARK: - MutablePersistableRecord
|
||||
|
||||
/// The MutablePersistable protocol uses this type in order to handle SQLite
|
||||
/// The MutablePersistableRecord protocol uses this type in order to handle SQLite
|
||||
/// conflicts when records are inserted or updated.
|
||||
///
|
||||
/// See `MutablePersistable.persistenceConflictPolicy`.
|
||||
/// See `MutablePersistableRecord.persistenceConflictPolicy`.
|
||||
///
|
||||
/// See https://www.sqlite.org/lang_conflict.html
|
||||
public struct PersistenceConflictPolicy {
|
||||
@@ -168,8 +168,8 @@ public struct PersistenceConflictPolicy {
|
||||
}
|
||||
}
|
||||
|
||||
/// Types that adopt MutablePersistable can be inserted, updated, and deleted.
|
||||
public protocol MutablePersistable : TableMapping {
|
||||
/// Types that adopt MutablePersistableRecord can be inserted, updated, and deleted.
|
||||
public protocol MutablePersistableRecord : TableRecord {
|
||||
/// The policy that handles SQLite conflicts when records are inserted
|
||||
/// or updated.
|
||||
///
|
||||
@@ -191,7 +191,7 @@ public protocol MutablePersistable : TableMapping {
|
||||
///
|
||||
/// Primary key columns, if any, must be included.
|
||||
///
|
||||
/// struct Player : MutablePersistable {
|
||||
/// struct Player : MutablePersistableRecord {
|
||||
/// var id: Int64?
|
||||
/// var name: String?
|
||||
///
|
||||
@@ -214,7 +214,7 @@ public protocol MutablePersistable : TableMapping {
|
||||
///
|
||||
/// This method is optional: the default implementation does nothing.
|
||||
///
|
||||
/// struct Player : MutablePersistable {
|
||||
/// struct Player : MutablePersistableRecord {
|
||||
/// var id: Int64?
|
||||
/// var name: String?
|
||||
///
|
||||
@@ -313,14 +313,14 @@ public protocol MutablePersistable : TableMapping {
|
||||
func exists(_ db: Database) throws -> Bool
|
||||
}
|
||||
|
||||
extension MutablePersistable {
|
||||
extension MutablePersistableRecord {
|
||||
/// A dictionary whose keys are the columns encoded in the `encode(to:)` method.
|
||||
public var databaseDictionary: [String: DatabaseValue] {
|
||||
return PersistenceContainer(self).storage.mapValues { $0?.databaseValue ?? .null }
|
||||
}
|
||||
}
|
||||
|
||||
extension MutablePersistable {
|
||||
extension MutablePersistableRecord {
|
||||
/// Describes the conflict policy for insertions and updates.
|
||||
///
|
||||
/// The default value specifies ABORT policy for both insertions and
|
||||
@@ -403,7 +403,7 @@ extension MutablePersistable {
|
||||
/// PersistenceError.recordNotFound is thrown if the primary key does not
|
||||
/// match any row in the database and record could not be updated.
|
||||
@discardableResult
|
||||
public func updateChanges(_ db: Database, from record: MutablePersistable) throws -> Bool {
|
||||
public func updateChanges(_ db: Database, from record: MutablePersistableRecord) throws -> Bool {
|
||||
let changedColumns = Set(databaseChanges(from: record).keys)
|
||||
if changedColumns.isEmpty {
|
||||
return false
|
||||
@@ -453,11 +453,11 @@ extension MutablePersistable {
|
||||
/// but also in terms of columns. When the two records don't define the
|
||||
/// same set of columns in their `encode(to:)` method, only the columns
|
||||
/// defined by the receiver record are considered.
|
||||
public func databaseChanges(from record: MutablePersistable) -> [String: DatabaseValue] {
|
||||
public func databaseChanges(from record: MutablePersistableRecord) -> [String: DatabaseValue] {
|
||||
return Dictionary(uniqueKeysWithValues: databaseChangesIterator(from: record))
|
||||
}
|
||||
|
||||
fileprivate func databaseChangesIterator(from record: MutablePersistable) -> AnyIterator<(String, DatabaseValue)> {
|
||||
fileprivate func databaseChangesIterator(from record: MutablePersistableRecord) -> AnyIterator<(String, DatabaseValue)> {
|
||||
let oldContainer = PersistenceContainer(record)
|
||||
var newValueIterator = PersistenceContainer(self).makeIterator()
|
||||
return AnyIterator {
|
||||
@@ -490,10 +490,10 @@ extension MutablePersistable {
|
||||
}
|
||||
|
||||
/// Don't invoke this method directly: it is an internal method for types
|
||||
/// that adopt MutablePersistable.
|
||||
/// that adopt MutablePersistableRecord.
|
||||
///
|
||||
/// performInsert() provides the default implementation for insert(). Types
|
||||
/// that adopt MutablePersistable can invoke performInsert() in their
|
||||
/// that adopt MutablePersistableRecord can invoke performInsert() in their
|
||||
/// implementation of insert(). They should not provide their own
|
||||
/// implementation of performInsert().
|
||||
public mutating func performInsert(_ db: Database) throws {
|
||||
@@ -507,10 +507,10 @@ extension MutablePersistable {
|
||||
}
|
||||
|
||||
/// Don't invoke this method directly: it is an internal method for types
|
||||
/// that adopt MutablePersistable.
|
||||
/// that adopt MutablePersistableRecord.
|
||||
///
|
||||
/// performUpdate() provides the default implementation for update(). Types
|
||||
/// that adopt MutablePersistable can invoke performUpdate() in their
|
||||
/// that adopt MutablePersistableRecord can invoke performUpdate() in their
|
||||
/// implementation of update(). They should not provide their own
|
||||
/// implementation of performUpdate().
|
||||
///
|
||||
@@ -531,10 +531,10 @@ extension MutablePersistable {
|
||||
}
|
||||
|
||||
/// Don't invoke this method directly: it is an internal method for types
|
||||
/// that adopt MutablePersistable.
|
||||
/// that adopt MutablePersistableRecord.
|
||||
///
|
||||
/// performSave() provides the default implementation for save(). Types
|
||||
/// that adopt MutablePersistable can invoke performSave() in their
|
||||
/// that adopt MutablePersistableRecord can invoke performSave() in their
|
||||
/// implementation of save(). They should not provide their own
|
||||
/// implementation of performSave().
|
||||
///
|
||||
@@ -560,10 +560,10 @@ extension MutablePersistable {
|
||||
}
|
||||
|
||||
/// Don't invoke this method directly: it is an internal method for types
|
||||
/// that adopt MutablePersistable.
|
||||
/// that adopt MutablePersistableRecord.
|
||||
///
|
||||
/// performDelete() provides the default implementation for deelte(). Types
|
||||
/// that adopt MutablePersistable can invoke performDelete() in
|
||||
/// that adopt MutablePersistableRecord can invoke performDelete() in
|
||||
/// their implementation of delete(). They should not provide their own
|
||||
/// implementation of performDelete().
|
||||
public func performDelete(_ db: Database) throws -> Bool {
|
||||
@@ -576,10 +576,10 @@ extension MutablePersistable {
|
||||
}
|
||||
|
||||
/// Don't invoke this method directly: it is an internal method for types
|
||||
/// that adopt MutablePersistable.
|
||||
/// that adopt MutablePersistableRecord.
|
||||
///
|
||||
/// performExists() provides the default implementation for exists(). Types
|
||||
/// that adopt MutablePersistable can invoke performExists() in
|
||||
/// that adopt MutablePersistableRecord can invoke performExists() in
|
||||
/// their implementation of exists(). They should not provide their own
|
||||
/// implementation of performExists().
|
||||
public func performExists(_ db: Database) throws -> Bool {
|
||||
@@ -592,7 +592,7 @@ extension MutablePersistable {
|
||||
|
||||
}
|
||||
|
||||
extension MutablePersistable {
|
||||
extension MutablePersistableRecord {
|
||||
|
||||
// MARK: - Deleting All
|
||||
|
||||
@@ -607,7 +607,7 @@ extension MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
extension MutablePersistable {
|
||||
extension MutablePersistableRecord {
|
||||
|
||||
// MARK: - Deleting by Single-Column Primary Key
|
||||
|
||||
@@ -669,7 +669,7 @@ extension MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
extension MutablePersistable {
|
||||
extension MutablePersistableRecord {
|
||||
|
||||
// MARK: - Deleting by Key
|
||||
|
||||
@@ -706,15 +706,15 @@ extension MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Persistable
|
||||
// MARK: - PersistableRecord
|
||||
|
||||
/// Types that adopt Persistable can be inserted, updated, and deleted.
|
||||
/// Types that adopt PersistableRecord can be inserted, updated, and deleted.
|
||||
///
|
||||
/// This protocol is intented for types that don't have an INTEGER PRIMARY KEY.
|
||||
///
|
||||
/// Unlike MutablePersistable, the insert() and save() methods are not
|
||||
/// Unlike MutablePersistableRecord, the insert() and save() methods are not
|
||||
/// mutating methods.
|
||||
public protocol Persistable : MutablePersistable {
|
||||
public protocol PersistableRecord : MutablePersistableRecord {
|
||||
|
||||
/// Notifies the record that it was succesfully inserted.
|
||||
///
|
||||
@@ -725,7 +725,7 @@ public protocol Persistable : MutablePersistable {
|
||||
/// This method is optional: the default implementation does nothing.
|
||||
///
|
||||
/// If you need a mutating variant of this method, adopt the
|
||||
/// MutablePersistable protocol instead.
|
||||
/// MutablePersistableRecord protocol instead.
|
||||
///
|
||||
/// - parameters:
|
||||
/// - rowID: The inserted rowID.
|
||||
@@ -772,7 +772,7 @@ public protocol Persistable : MutablePersistable {
|
||||
func save(_ db: Database) throws
|
||||
}
|
||||
|
||||
extension Persistable {
|
||||
extension PersistableRecord {
|
||||
|
||||
/// Notifies the record that it was succesfully inserted.
|
||||
///
|
||||
@@ -801,10 +801,10 @@ extension Persistable {
|
||||
// MARK: - Immutable CRUD Internals
|
||||
|
||||
/// Don't invoke this method directly: it is an internal method for types
|
||||
/// that adopt Persistable.
|
||||
/// that adopt PersistableRecord.
|
||||
///
|
||||
/// performInsert() provides the default implementation for insert(). Types
|
||||
/// that adopt Persistable can invoke performInsert() in their
|
||||
/// that adopt PersistableRecord can invoke performInsert() in their
|
||||
/// implementation of insert(). They should not provide their own
|
||||
/// implementation of performInsert().
|
||||
public func performInsert(_ db: Database) throws {
|
||||
@@ -818,10 +818,10 @@ extension Persistable {
|
||||
}
|
||||
|
||||
/// Don't invoke this method directly: it is an internal method for types
|
||||
/// that adopt Persistable.
|
||||
/// that adopt PersistableRecord.
|
||||
///
|
||||
/// performSave() provides the default implementation for save(). Types
|
||||
/// that adopt Persistable can invoke performSave() in their
|
||||
/// that adopt PersistableRecord can invoke performSave() in their
|
||||
/// implementation of save(). They should not provide their own
|
||||
/// implementation of performSave().
|
||||
///
|
||||
@@ -849,14 +849,14 @@ extension Persistable {
|
||||
|
||||
// MARK: - DAO
|
||||
|
||||
/// DAO takes care of Persistable CRUD
|
||||
/// DAO takes care of PersistableRecord CRUD
|
||||
final class DAO {
|
||||
|
||||
/// The database
|
||||
let db: Database
|
||||
|
||||
/// The record
|
||||
let record: MutablePersistable
|
||||
let record: MutablePersistableRecord
|
||||
|
||||
/// DAO keeps a copy the record's persistenceContainer, so that this
|
||||
/// dictionary is built once whatever the database operation. It is
|
||||
@@ -869,7 +869,7 @@ final class DAO {
|
||||
/// The table primary key
|
||||
let primaryKey: PrimaryKeyInfo
|
||||
|
||||
init(_ db: Database, _ record: MutablePersistable) throws {
|
||||
init(_ db: Database, _ record: MutablePersistableRecord) throws {
|
||||
let databaseTableName = type(of: record).databaseTableName
|
||||
let primaryKey = try db.primaryKey(databaseTableName)
|
||||
let persistenceContainer = PersistenceContainer(record)
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/// Record is a class that wraps a table row, or the result of any query. It is
|
||||
/// designed to be subclassed.
|
||||
open class Record : RowConvertible, TableMapping, Persistable {
|
||||
open class Record : FetchableRecord, TableRecord, PersistableRecord {
|
||||
|
||||
// MARK: - Initializers
|
||||
|
||||
@@ -155,7 +155,7 @@ open class Record : RowConvertible, TableMapping, Persistable {
|
||||
row = Row(self)
|
||||
#else
|
||||
// workaround weird Swift 3.0 glitch
|
||||
row = Row(self as! MutablePersistable)
|
||||
row = Row(self as! MutablePersistableRecord)
|
||||
#endif
|
||||
let copy = type(of: self).init(row: row)
|
||||
copy.referenceRow = referenceRow
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/// changes tracking provided by the Record class.
|
||||
///
|
||||
/// // A Regular record struct
|
||||
/// struct Player: RowConvertible, MutablePersistable, Codable {
|
||||
/// struct Player: FetchableRecord, MutablePersistableRecord, Codable {
|
||||
/// static let databaseTableName = "players"
|
||||
/// var id: Int64?
|
||||
/// var name: String
|
||||
@@ -21,8 +21,8 @@
|
||||
/// playerRecord.hasPersistentChangedValues // true
|
||||
/// playerRecord.persistentChangedValues["score"] // 100 (the old value)
|
||||
/// }
|
||||
@available(*, deprecated, message: "Prefer changes methods defined on the MutablePersistable protocol: databaseEqual(_:), databaseChanges(from:), updateChanges(from:)")
|
||||
public final class RecordBox<T: RowConvertible & MutablePersistable>: Record {
|
||||
@available(*, deprecated, message: "Prefer changes methods defined on the MutablePersistableRecord protocol: databaseEqual(_:), databaseChanges(from:), updateChanges(from:)")
|
||||
public final class RecordBox<T: FetchableRecord & MutablePersistableRecord>: Record {
|
||||
/// The boxed record
|
||||
public var value: T
|
||||
|
||||
@@ -32,7 +32,7 @@ public final class RecordBox<T: RowConvertible & MutablePersistable>: Record {
|
||||
super.init()
|
||||
}
|
||||
|
||||
// MARK: - RowConvertible
|
||||
// MARK: - FetchableRecord
|
||||
|
||||
/// Initializes a record from `row`.
|
||||
public required init(row: Row) {
|
||||
@@ -40,7 +40,7 @@ public final class RecordBox<T: RowConvertible & MutablePersistable>: Record {
|
||||
super.init(row: row)
|
||||
}
|
||||
|
||||
// MARK: - TableMapping
|
||||
// MARK: - TableRecord
|
||||
|
||||
/// :nodoc:
|
||||
override public class var databaseTableName: String {
|
||||
@@ -52,7 +52,7 @@ public final class RecordBox<T: RowConvertible & MutablePersistable>: Record {
|
||||
return T.databaseSelection
|
||||
}
|
||||
|
||||
// MARK: - MutablePersistable
|
||||
// MARK: - MutablePersistableRecord
|
||||
|
||||
/// :nodoc:
|
||||
override public class var persistenceConflictPolicy: PersistenceConflictPolicy {
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
/// Types that adopt TableMapping declare a particular relationship with
|
||||
/// Types that adopt TableRecord declare a particular relationship with
|
||||
/// a database table.
|
||||
///
|
||||
/// Types that adopt both TableMapping and RowConvertible are granted with
|
||||
/// Types that adopt both TableRecord and FetchableRecord are granted with
|
||||
/// built-in methods that allow to fetch instances identified by key:
|
||||
///
|
||||
/// try Player.fetchOne(db, key: 123) // Player?
|
||||
/// try Citizenship.fetchOne(db, key: ["citizenId": 12, "countryId": 45]) // Citizenship?
|
||||
///
|
||||
/// TableMapping is adopted by Record.
|
||||
public protocol TableMapping {
|
||||
/// TableRecord is adopted by Record.
|
||||
public protocol TableRecord {
|
||||
/// The name of the database table used to build requests.
|
||||
///
|
||||
/// struct Player : TableMapping {
|
||||
/// struct Player : TableRecord {
|
||||
/// static var databaseTableName = "players"
|
||||
/// }
|
||||
///
|
||||
@@ -29,7 +29,7 @@ public protocol TableMapping {
|
||||
/// You can provide a custom implementation and provide an explicit list
|
||||
/// of columns:
|
||||
///
|
||||
/// struct RestrictedPlayer : TableMapping {
|
||||
/// struct RestrictedPlayer : TableRecord {
|
||||
/// static var databaseTableName = "players"
|
||||
/// static var databaseSelection = [Column("id"), Column("name")]
|
||||
/// }
|
||||
@@ -39,7 +39,7 @@ public protocol TableMapping {
|
||||
///
|
||||
/// You can also add extra columns such as the `rowid` column:
|
||||
///
|
||||
/// struct ExtendedPlayer : TableMapping {
|
||||
/// struct ExtendedPlayer : TableRecord {
|
||||
/// static var databaseTableName = "players"
|
||||
/// static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
/// }
|
||||
@@ -49,14 +49,14 @@ public protocol TableMapping {
|
||||
static var databaseSelection: [SQLSelectable] { get }
|
||||
}
|
||||
|
||||
extension TableMapping {
|
||||
extension TableRecord {
|
||||
/// Default value: `[AllColumns()]`.
|
||||
public static var databaseSelection: [SQLSelectable] {
|
||||
return [AllColumns()]
|
||||
}
|
||||
}
|
||||
|
||||
extension TableMapping {
|
||||
extension TableRecord {
|
||||
|
||||
// MARK: - Counting All
|
||||
|
||||
@@ -68,7 +68,7 @@ extension TableMapping {
|
||||
}
|
||||
}
|
||||
|
||||
extension TableMapping {
|
||||
extension TableRecord {
|
||||
|
||||
// MARK: - SQL Generation
|
||||
|
||||
@@ -76,7 +76,7 @@ extension TableMapping {
|
||||
///
|
||||
/// For example:
|
||||
///
|
||||
/// struct Player: TableMapping {
|
||||
/// struct Player: TableRecord {
|
||||
/// static let databaseTableName = "players"
|
||||
/// }
|
||||
///
|
||||
@@ -98,7 +98,7 @@ extension TableMapping {
|
||||
///
|
||||
/// For example:
|
||||
///
|
||||
/// struct Player: TableMapping {
|
||||
/// struct Player: TableRecord {
|
||||
/// static let databaseTableName = "players"
|
||||
/// }
|
||||
///
|
||||
@@ -22,7 +22,7 @@
|
||||
560FC52A1CB003810014AA8E /* DatabaseError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238731B9C75030082EB20 /* DatabaseError.swift */; };
|
||||
560FC52B1CB003810014AA8E /* DatabaseValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238751B9C75030082EB20 /* DatabaseValue.swift */; };
|
||||
560FC52E1CB003810014AA8E /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A11B9C753B0082EB20 /* Record.swift */; };
|
||||
560FC5311CB003810014AA8E /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
560FC5311CB003810014AA8E /* TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableRecord.swift */; };
|
||||
560FC5321CB003810014AA8E /* DatabasePool.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560A37A31C8F625000949E71 /* DatabasePool.swift */; };
|
||||
560FC5331CB003810014AA8E /* Migration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4391BEB42D500E39BBF /* Migration.swift */; };
|
||||
560FC5341CB003810014AA8E /* QueryInterfaceQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */; };
|
||||
@@ -37,7 +37,7 @@
|
||||
560FC53D1CB003810014AA8E /* NSNumber.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1511C672E4000235C62 /* NSNumber.swift */; };
|
||||
560FC53F1CB003810014AA8E /* Row.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238761B9C75030082EB20 /* Row.swift */; };
|
||||
560FC5401CB003810014AA8E /* StandardLibrary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1581C672E4000235C62 /* StandardLibrary.swift */; };
|
||||
560FC5411CB003810014AA8E /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* Persistable.swift */; };
|
||||
560FC5411CB003810014AA8E /* PersistableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* PersistableRecord.swift */; };
|
||||
560FC5421CB003810014AA8E /* StatementColumnConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D923F1C672C3E00F4F92B /* StatementColumnConvertible.swift */; };
|
||||
560FC5611CB00B880014AA8E /* DatabaseValueConversionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381B1B9C74A90082EB20 /* DatabaseValueConversionTests.swift */; };
|
||||
560FC5621CB00B880014AA8E /* Record+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */; };
|
||||
@@ -59,11 +59,11 @@
|
||||
560FC5791CB00B880014AA8E /* RecordPrimaryKeyMultipleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238281B9C74A90082EB20 /* RecordPrimaryKeyMultipleTests.swift */; };
|
||||
560FC57C1CB00B880014AA8E /* StatementArgumentsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DE7B101C3D93ED00861EB8 /* StatementArgumentsTests.swift */; };
|
||||
560FC57D1CB00B880014AA8E /* RecordInitializersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238321B9C74A90082EB20 /* RecordInitializersTests.swift */; };
|
||||
560FC57E1CB00B880014AA8E /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableTests.swift */; };
|
||||
560FC57F1CB00B880014AA8E /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */; };
|
||||
560FC57E1CB00B880014AA8E /* MutablePersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */; };
|
||||
560FC57F1CB00B880014AA8E /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
560FC5811CB00B880014AA8E /* RecordCopyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382D1B9C74A90082EB20 /* RecordCopyTests.swift */; };
|
||||
560FC5821CB00B880014AA8E /* RawRepresentable+DatabaseValueConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381C1B9C74A90082EB20 /* RawRepresentable+DatabaseValueConvertibleTests.swift */; };
|
||||
560FC5841CB00B880014AA8E /* PersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableTests.swift */; };
|
||||
560FC5841CB00B880014AA8E /* PersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */; };
|
||||
560FC5871CB00B880014AA8E /* RecordSubClassTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238331B9C74A90082EB20 /* RecordSubClassTests.swift */; };
|
||||
560FC5891CB00B880014AA8E /* TransactionObserverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */; };
|
||||
560FC58B1CB00B880014AA8E /* DatabaseValueTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238181B9C74A90082EB20 /* DatabaseValueTests.swift */; };
|
||||
@@ -72,14 +72,14 @@
|
||||
560FC58F1CB00B880014AA8E /* DatabaseReaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA86931C91DFE7002BB4DF /* DatabaseReaderTests.swift */; };
|
||||
560FC5901CB00B880014AA8E /* RecordEditedTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382F1B9C74A90082EB20 /* RecordEditedTests.swift */; };
|
||||
560FC5911CB00B880014AA8E /* RecordPrimaryKeySingleWithReplaceConflictResolutionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382C1B9C74A90082EB20 /* RecordPrimaryKeySingleWithReplaceConflictResolutionTests.swift */; };
|
||||
560FC5921CB00B880014AA8E /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
560FC5921CB00B880014AA8E /* FetchableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */; };
|
||||
560FC5941CB00B880014AA8E /* DatabaseValueConvertibleSubclassTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381A1B9C74A90082EB20 /* DatabaseValueConvertibleSubclassTests.swift */; };
|
||||
560FC5961CB00B880014AA8E /* DatabaseValueConvertibleFetchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56E8CE0C1BB4FA5600828BEC /* DatabaseValueConvertibleFetchTests.swift */; };
|
||||
560FC5971CB00B880014AA8E /* DatabaseErrorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238161B9C74A90082EB20 /* DatabaseErrorTests.swift */; };
|
||||
560FC5991CB00B880014AA8E /* RecordMinimalPrimaryKeySingleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238271B9C74A90082EB20 /* RecordMinimalPrimaryKeySingleTests.swift */; };
|
||||
560FC59B1CB00B880014AA8E /* DatabaseTimestampTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238B51B9CA2590082EB20 /* DatabaseTimestampTests.swift */; };
|
||||
560FC59C1CB00B880014AA8E /* StatementArguments+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */; };
|
||||
560FC59D1CB00B880014AA8E /* TableMapping+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */; };
|
||||
560FC59D1CB00B880014AA8E /* TableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
560FC59E1CB00B880014AA8E /* FoundationNSDateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56F0B98E1B6001C600A2F135 /* FoundationNSDateTests.swift */; };
|
||||
560FC59F1CB00B880014AA8E /* DatabaseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238131B9C74A90082EB20 /* DatabaseTests.swift */; };
|
||||
560FC5A01CB00B880014AA8E /* QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */; };
|
||||
@@ -260,10 +260,10 @@
|
||||
566A843120413DD000E50BFD /* DatabaseSnapshotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A842F20413DCF00E50BFD /* DatabaseSnapshotTests.swift */; };
|
||||
566A843220413DD000E50BFD /* DatabaseSnapshotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A842F20413DCF00E50BFD /* DatabaseSnapshotTests.swift */; };
|
||||
566A843320413DD000E50BFD /* DatabaseSnapshotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A842F20413DCF00E50BFD /* DatabaseSnapshotTests.swift */; };
|
||||
566A84462041AB3900E50BFD /* MutablePersistableChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84452041AB3900E50BFD /* MutablePersistableChangesTests.swift */; };
|
||||
566A84472041AB3900E50BFD /* MutablePersistableChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84452041AB3900E50BFD /* MutablePersistableChangesTests.swift */; };
|
||||
566A84482041AB3900E50BFD /* MutablePersistableChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84452041AB3900E50BFD /* MutablePersistableChangesTests.swift */; };
|
||||
566A84492041AB3900E50BFD /* MutablePersistableChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84452041AB3900E50BFD /* MutablePersistableChangesTests.swift */; };
|
||||
566A84462041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84452041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift */; };
|
||||
566A84472041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84452041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift */; };
|
||||
566A84482041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84452041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift */; };
|
||||
566A84492041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84452041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift */; };
|
||||
566AD8B31D5318F4002EC1A8 /* TableDefinition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */; };
|
||||
566AD8B61D5318F4002EC1A8 /* TableDefinition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */; };
|
||||
566AD8C71D531BEA002EC1A8 /* TableDefinitionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */; };
|
||||
@@ -304,11 +304,11 @@
|
||||
567156371CB16729007DC145 /* RecordPrimaryKeyMultipleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238281B9C74A90082EB20 /* RecordPrimaryKeyMultipleTests.swift */; };
|
||||
5671563A1CB16729007DC145 /* StatementArgumentsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DE7B101C3D93ED00861EB8 /* StatementArgumentsTests.swift */; };
|
||||
5671563B1CB16729007DC145 /* RecordInitializersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238321B9C74A90082EB20 /* RecordInitializersTests.swift */; };
|
||||
5671563C1CB16729007DC145 /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableTests.swift */; };
|
||||
5671563D1CB16729007DC145 /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */; };
|
||||
5671563C1CB16729007DC145 /* MutablePersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */; };
|
||||
5671563D1CB16729007DC145 /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
5671563F1CB16729007DC145 /* RecordCopyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382D1B9C74A90082EB20 /* RecordCopyTests.swift */; };
|
||||
567156401CB16729007DC145 /* RawRepresentable+DatabaseValueConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381C1B9C74A90082EB20 /* RawRepresentable+DatabaseValueConvertibleTests.swift */; };
|
||||
567156411CB16729007DC145 /* PersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableTests.swift */; };
|
||||
567156411CB16729007DC145 /* PersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */; };
|
||||
567156441CB16729007DC145 /* RecordSubClassTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238331B9C74A90082EB20 /* RecordSubClassTests.swift */; };
|
||||
567156461CB16729007DC145 /* TransactionObserverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */; };
|
||||
567156481CB16729007DC145 /* DatabaseValueTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238181B9C74A90082EB20 /* DatabaseValueTests.swift */; };
|
||||
@@ -319,14 +319,14 @@
|
||||
5671564E1CB16729007DC145 /* DatabaseReaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA86931C91DFE7002BB4DF /* DatabaseReaderTests.swift */; };
|
||||
5671564F1CB16729007DC145 /* RecordEditedTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382F1B9C74A90082EB20 /* RecordEditedTests.swift */; };
|
||||
567156501CB16729007DC145 /* RecordPrimaryKeySingleWithReplaceConflictResolutionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382C1B9C74A90082EB20 /* RecordPrimaryKeySingleWithReplaceConflictResolutionTests.swift */; };
|
||||
567156511CB16729007DC145 /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
567156511CB16729007DC145 /* FetchableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */; };
|
||||
567156531CB16729007DC145 /* DatabaseValueConvertibleSubclassTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381A1B9C74A90082EB20 /* DatabaseValueConvertibleSubclassTests.swift */; };
|
||||
567156551CB16729007DC145 /* DatabaseValueConvertibleFetchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56E8CE0C1BB4FA5600828BEC /* DatabaseValueConvertibleFetchTests.swift */; };
|
||||
567156561CB16729007DC145 /* DatabaseErrorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238161B9C74A90082EB20 /* DatabaseErrorTests.swift */; };
|
||||
567156571CB16729007DC145 /* RecordMinimalPrimaryKeySingleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238271B9C74A90082EB20 /* RecordMinimalPrimaryKeySingleTests.swift */; };
|
||||
567156591CB16729007DC145 /* DatabaseTimestampTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238B51B9CA2590082EB20 /* DatabaseTimestampTests.swift */; };
|
||||
5671565A1CB16729007DC145 /* StatementArguments+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */; };
|
||||
5671565B1CB16729007DC145 /* TableMapping+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */; };
|
||||
5671565B1CB16729007DC145 /* TableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
5671565C1CB16729007DC145 /* FoundationNSDateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56F0B98E1B6001C600A2F135 /* FoundationNSDateTests.swift */; };
|
||||
5671565D1CB16729007DC145 /* DatabaseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238131B9C74A90082EB20 /* DatabaseTests.swift */; };
|
||||
5671565E1CB16729007DC145 /* QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */; };
|
||||
@@ -354,10 +354,10 @@
|
||||
5674A6EA1F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E31F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift */; };
|
||||
5674A6EE1F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */; };
|
||||
5674A6F11F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */; };
|
||||
5674A6F71F307F600095F066 /* Persistable+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* Persistable+Encodable.swift */; };
|
||||
5674A6FA1F307F600095F066 /* Persistable+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* Persistable+Encodable.swift */; };
|
||||
5674A6FE1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */; };
|
||||
5674A7011F307F600095F066 /* RowConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */; };
|
||||
5674A6F71F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */; };
|
||||
5674A6FA1F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */; };
|
||||
5674A6FE1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */; };
|
||||
5674A7011F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */; };
|
||||
5674A7061F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */; };
|
||||
5674A7091F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */; };
|
||||
5674A70D1F3087710095F066 /* DatabaseValueConvertibleEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70B1F3087700095F066 /* DatabaseValueConvertibleEncodableTests.swift */; };
|
||||
@@ -368,14 +368,14 @@
|
||||
5674A7181F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */; };
|
||||
5674A7191F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */; };
|
||||
5674A71B1F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */; };
|
||||
5674A71E1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */; };
|
||||
5674A7211F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */; };
|
||||
5674A7221F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */; };
|
||||
5674A7241F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */; };
|
||||
5674A7281F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */; };
|
||||
5674A72B1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */; };
|
||||
5674A72C1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */; };
|
||||
5674A72E1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */; };
|
||||
5674A71E1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */; };
|
||||
5674A7211F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */; };
|
||||
5674A7221F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */; };
|
||||
5674A7241F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */; };
|
||||
5674A7281F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */; };
|
||||
5674A72B1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */; };
|
||||
5674A72C1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */; };
|
||||
5674A72E1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */; };
|
||||
567A80541D41350C00C7DCEC /* IndexInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567A80521D41350C00C7DCEC /* IndexInfoTests.swift */; };
|
||||
567A80551D41350C00C7DCEC /* IndexInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567A80521D41350C00C7DCEC /* IndexInfoTests.swift */; };
|
||||
567A80581D41350C00C7DCEC /* IndexInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567A80521D41350C00C7DCEC /* IndexInfoTests.swift */; };
|
||||
@@ -523,7 +523,7 @@
|
||||
56AFC9FD1CB1A8BB00F48B96 /* NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1521C672E4000235C62 /* NSString.swift */; };
|
||||
56AFC9FF1CB1A8BB00F48B96 /* DatabaseValueConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D923E1C672C3E00F4F92B /* DatabaseValueConvertible.swift */; };
|
||||
56AFCA001CB1A8BB00F48B96 /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A11B9C753B0082EB20 /* Record.swift */; };
|
||||
56AFCA031CB1A8BB00F48B96 /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
56AFCA031CB1A8BB00F48B96 /* TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableRecord.swift */; };
|
||||
56AFCA061CB1A8BB00F48B96 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238701B9C75030082EB20 /* Configuration.swift */; };
|
||||
56AFCA071CB1A8BB00F48B96 /* DatabasePool.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560A37A31C8F625000949E71 /* DatabasePool.swift */; };
|
||||
56AFCA081CB1A8BB00F48B96 /* Statement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238781B9C75030082EB20 /* Statement.swift */; };
|
||||
@@ -538,7 +538,7 @@
|
||||
56AFCA111CB1A8BB00F48B96 /* DatabaseError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238731B9C75030082EB20 /* DatabaseError.swift */; };
|
||||
56AFCA121CB1A8BB00F48B96 /* NSNumber.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1511C672E4000235C62 /* NSNumber.swift */; };
|
||||
56AFCA141CB1A8BB00F48B96 /* StandardLibrary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1581C672E4000235C62 /* StandardLibrary.swift */; };
|
||||
56AFCA151CB1A8BB00F48B96 /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* Persistable.swift */; };
|
||||
56AFCA151CB1A8BB00F48B96 /* PersistableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* PersistableRecord.swift */; };
|
||||
56AFCA161CB1A8BB00F48B96 /* StatementColumnConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D923F1C672C3E00F4F92B /* StatementColumnConvertible.swift */; };
|
||||
56AFCA181CB1A8BB00F48B96 /* FetchedRecordsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31A7787C1C6A4DD600F507F6 /* FetchedRecordsController.swift */; };
|
||||
56AFCA191CB1A8BB00F48B96 /* DatabaseValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238751B9C75030082EB20 /* DatabaseValue.swift */; };
|
||||
@@ -567,12 +567,12 @@
|
||||
56AFCA471CB1AA9900F48B96 /* RowFromStatementTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */; };
|
||||
56AFCA491CB1AA9900F48B96 /* StatementArgumentsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DE7B101C3D93ED00861EB8 /* StatementArgumentsTests.swift */; };
|
||||
56AFCA4A1CB1AA9900F48B96 /* RecordInitializersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238321B9C74A90082EB20 /* RecordInitializersTests.swift */; };
|
||||
56AFCA4B1CB1AA9900F48B96 /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableTests.swift */; };
|
||||
56AFCA4C1CB1AA9900F48B96 /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */; };
|
||||
56AFCA4B1CB1AA9900F48B96 /* MutablePersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */; };
|
||||
56AFCA4C1CB1AA9900F48B96 /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
56AFCA4D1CB1AA9900F48B96 /* DatabasePoolReadOnlyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA869D1C932597002BB4DF /* DatabasePoolReadOnlyTests.swift */; };
|
||||
56AFCA4F1CB1AA9900F48B96 /* DataMemoryTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EB0AB11BCD787300A3DC55 /* DataMemoryTests.swift */; };
|
||||
56AFCA501CB1AA9900F48B96 /* RecordCopyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382D1B9C74A90082EB20 /* RecordCopyTests.swift */; };
|
||||
56AFCA521CB1AA9900F48B96 /* PersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableTests.swift */; };
|
||||
56AFCA521CB1AA9900F48B96 /* PersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */; };
|
||||
56AFCA531CB1AA9900F48B96 /* DatabaseValueConversionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381B1B9C74A90082EB20 /* DatabaseValueConversionTests.swift */; };
|
||||
56AFCA551CB1AA9900F48B96 /* RawRepresentable+DatabaseValueConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381C1B9C74A90082EB20 /* RawRepresentable+DatabaseValueConvertibleTests.swift */; };
|
||||
56AFCA561CB1AA9900F48B96 /* DatabasePoolConcurrencyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560A37AA1C90085D00949E71 /* DatabasePoolConcurrencyTests.swift */; };
|
||||
@@ -582,7 +582,7 @@
|
||||
56AFCA5B1CB1AA9900F48B96 /* DatabaseValueTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238181B9C74A90082EB20 /* DatabaseValueTests.swift */; };
|
||||
56AFCA5C1CB1AA9900F48B96 /* DatabaseQueueReadOnlyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567156151CB142AA007DC145 /* DatabaseQueueReadOnlyTests.swift */; };
|
||||
56AFCA5D1CB1AA9900F48B96 /* DatabaseReaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA86931C91DFE7002BB4DF /* DatabaseReaderTests.swift */; };
|
||||
56AFCA5E1CB1AA9900F48B96 /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
56AFCA5E1CB1AA9900F48B96 /* FetchableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */; };
|
||||
56AFCA5F1CB1AA9900F48B96 /* DatabaseValueConvertibleFetchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56E8CE0C1BB4FA5600828BEC /* DatabaseValueConvertibleFetchTests.swift */; };
|
||||
56AFCA601CB1AA9900F48B96 /* RecordPrimaryKeyRowIDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382A1B9C74A90082EB20 /* RecordPrimaryKeyRowIDTests.swift */; };
|
||||
56AFCA611CB1AA9900F48B96 /* RecordEditedTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382F1B9C74A90082EB20 /* RecordEditedTests.swift */; };
|
||||
@@ -595,7 +595,7 @@
|
||||
56AFCA681CB1AA9900F48B96 /* RecordMinimalPrimaryKeySingleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238271B9C74A90082EB20 /* RecordMinimalPrimaryKeySingleTests.swift */; };
|
||||
56AFCA6B1CB1AA9900F48B96 /* DatabaseTimestampTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238B51B9CA2590082EB20 /* DatabaseTimestampTests.swift */; };
|
||||
56AFCA6C1CB1AA9900F48B96 /* StatementArguments+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */; };
|
||||
56AFCA6D1CB1AA9900F48B96 /* TableMapping+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */; };
|
||||
56AFCA6D1CB1AA9900F48B96 /* TableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
56AFCA6E1CB1AA9900F48B96 /* FoundationNSDateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56F0B98E1B6001C600A2F135 /* FoundationNSDateTests.swift */; };
|
||||
56AFCA6F1CB1AA9900F48B96 /* DatabaseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238131B9C74A90082EB20 /* DatabaseTests.swift */; };
|
||||
56AFCA701CB1AA9900F48B96 /* QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */; };
|
||||
@@ -627,12 +627,12 @@
|
||||
56AFCAA01CB1ABC800F48B96 /* RowFromStatementTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */; };
|
||||
56AFCAA21CB1ABC800F48B96 /* StatementArgumentsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DE7B101C3D93ED00861EB8 /* StatementArgumentsTests.swift */; };
|
||||
56AFCAA31CB1ABC800F48B96 /* RecordInitializersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238321B9C74A90082EB20 /* RecordInitializersTests.swift */; };
|
||||
56AFCAA41CB1ABC800F48B96 /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableTests.swift */; };
|
||||
56AFCAA51CB1ABC800F48B96 /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */; };
|
||||
56AFCAA41CB1ABC800F48B96 /* MutablePersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */; };
|
||||
56AFCAA51CB1ABC800F48B96 /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
56AFCAA61CB1ABC800F48B96 /* DatabasePoolReadOnlyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA869D1C932597002BB4DF /* DatabasePoolReadOnlyTests.swift */; };
|
||||
56AFCAA81CB1ABC800F48B96 /* DataMemoryTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EB0AB11BCD787300A3DC55 /* DataMemoryTests.swift */; };
|
||||
56AFCAA91CB1ABC800F48B96 /* RecordCopyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382D1B9C74A90082EB20 /* RecordCopyTests.swift */; };
|
||||
56AFCAAB1CB1ABC800F48B96 /* PersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableTests.swift */; };
|
||||
56AFCAAB1CB1ABC800F48B96 /* PersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */; };
|
||||
56AFCAAC1CB1ABC800F48B96 /* DatabaseValueConversionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381B1B9C74A90082EB20 /* DatabaseValueConversionTests.swift */; };
|
||||
56AFCAAE1CB1ABC800F48B96 /* RawRepresentable+DatabaseValueConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381C1B9C74A90082EB20 /* RawRepresentable+DatabaseValueConvertibleTests.swift */; };
|
||||
56AFCAAF1CB1ABC800F48B96 /* DatabasePoolConcurrencyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560A37AA1C90085D00949E71 /* DatabasePoolConcurrencyTests.swift */; };
|
||||
@@ -642,7 +642,7 @@
|
||||
56AFCAB41CB1ABC800F48B96 /* DatabaseValueTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238181B9C74A90082EB20 /* DatabaseValueTests.swift */; };
|
||||
56AFCAB51CB1ABC800F48B96 /* DatabaseQueueReadOnlyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567156151CB142AA007DC145 /* DatabaseQueueReadOnlyTests.swift */; };
|
||||
56AFCAB61CB1ABC800F48B96 /* DatabaseReaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA86931C91DFE7002BB4DF /* DatabaseReaderTests.swift */; };
|
||||
56AFCAB71CB1ABC800F48B96 /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
56AFCAB71CB1ABC800F48B96 /* FetchableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */; };
|
||||
56AFCAB81CB1ABC800F48B96 /* DatabaseValueConvertibleFetchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56E8CE0C1BB4FA5600828BEC /* DatabaseValueConvertibleFetchTests.swift */; };
|
||||
56AFCAB91CB1ABC800F48B96 /* RecordPrimaryKeyRowIDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382A1B9C74A90082EB20 /* RecordPrimaryKeyRowIDTests.swift */; };
|
||||
56AFCABA1CB1ABC800F48B96 /* RecordEditedTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2382F1B9C74A90082EB20 /* RecordEditedTests.swift */; };
|
||||
@@ -655,7 +655,7 @@
|
||||
56AFCAC11CB1ABC800F48B96 /* RecordMinimalPrimaryKeySingleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238271B9C74A90082EB20 /* RecordMinimalPrimaryKeySingleTests.swift */; };
|
||||
56AFCAC41CB1ABC800F48B96 /* DatabaseTimestampTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238B51B9CA2590082EB20 /* DatabaseTimestampTests.swift */; };
|
||||
56AFCAC51CB1ABC800F48B96 /* StatementArguments+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */; };
|
||||
56AFCAC61CB1ABC800F48B96 /* TableMapping+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */; };
|
||||
56AFCAC61CB1ABC800F48B96 /* TableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
56AFCAC71CB1ABC800F48B96 /* FoundationNSDateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56F0B98E1B6001C600A2F135 /* FoundationNSDateTests.swift */; };
|
||||
56AFCAC81CB1ABC800F48B96 /* DatabaseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238131B9C74A90082EB20 /* DatabaseTests.swift */; };
|
||||
56AFCAC91CB1ABC800F48B96 /* QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */; };
|
||||
@@ -666,10 +666,10 @@
|
||||
56AFCACF1CB1ABC800F48B96 /* DatabaseRegionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1861C69111300235C62 /* DatabaseRegionTests.swift */; };
|
||||
56AFCAD01CB1ABC800F48B96 /* GRDBTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5623E0901B4AFACC00B20B7F /* GRDBTestCase.swift */; };
|
||||
56AFCAD21CB1ABC800F48B96 /* GRDBCipher.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 56AFCA231CB1A8BB00F48B96 /* GRDBCipher.framework */; };
|
||||
56B021CA1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */; };
|
||||
56B021CB1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */; };
|
||||
56B021CE1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */; };
|
||||
56B021CF1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */; };
|
||||
56B021CA1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */; };
|
||||
56B021CB1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */; };
|
||||
56B021CE1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */; };
|
||||
56B021CF1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */; };
|
||||
56B14E801D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */; };
|
||||
56B14E811D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */; };
|
||||
56B14E841D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */; };
|
||||
@@ -710,8 +710,8 @@
|
||||
56CC9258201E094F00CB597E /* PrefixCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9256201E094E00CB597E /* PrefixCursorTests.swift */; };
|
||||
56CC9259201E094F00CB597E /* PrefixCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9256201E094E00CB597E /* PrefixCursorTests.swift */; };
|
||||
56CC925A201E094F00CB597E /* PrefixCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9256201E094E00CB597E /* PrefixCursorTests.swift */; };
|
||||
56CEB4F21EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */; };
|
||||
56CEB4F51EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */; };
|
||||
56CEB4F21EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */; };
|
||||
56CEB4F51EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */; };
|
||||
56CEB4FB1EAA2F4D00BFAF62 /* FTS3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */; };
|
||||
56CEB4FE1EAA2F4D00BFAF62 /* FTS3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */; };
|
||||
56CEB5021EAA2F4D00BFAF62 /* FTS4.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F91EAA2F4D00BFAF62 /* FTS4.swift */; };
|
||||
@@ -736,8 +736,8 @@
|
||||
56D507601F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */; };
|
||||
56D507631F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */; };
|
||||
56D507641F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */; };
|
||||
56D51D011EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */; };
|
||||
56D51D041EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */; };
|
||||
56D51D011EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */; };
|
||||
56D51D041EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */; };
|
||||
56DAA2D31DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */; };
|
||||
56DAA2D41DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */; };
|
||||
56DAA2D71DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */; };
|
||||
@@ -755,14 +755,14 @@
|
||||
56F3E7671E67F8C100BF0F01 /* Fixits-0.101.1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56F3E7621E67F8C100BF0F01 /* Fixits-0.101.1.swift */; };
|
||||
56FC98791D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */; };
|
||||
56FC987C1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */; };
|
||||
56FEE7FC1F47253700D930EA /* TableMappingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableMappingTests.swift */; };
|
||||
56FEE7FD1F47253700D930EA /* TableMappingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableMappingTests.swift */; };
|
||||
56FEE8001F47253700D930EA /* TableMappingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableMappingTests.swift */; };
|
||||
56FEE8011F47253700D930EA /* TableMappingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableMappingTests.swift */; };
|
||||
56FF45411D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */; };
|
||||
56FF45421D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */; };
|
||||
56FF45451D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */; };
|
||||
56FF45461D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */; };
|
||||
56FEE7FC1F47253700D930EA /* TableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableRecordTests.swift */; };
|
||||
56FEE7FD1F47253700D930EA /* TableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableRecordTests.swift */; };
|
||||
56FEE8001F47253700D930EA /* TableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableRecordTests.swift */; };
|
||||
56FEE8011F47253700D930EA /* TableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableRecordTests.swift */; };
|
||||
56FF45411D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */; };
|
||||
56FF45421D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */; };
|
||||
56FF45451D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */; };
|
||||
56FF45461D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */; };
|
||||
56FF45571D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */; };
|
||||
56FF45581D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */; };
|
||||
56FF455B1D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */; };
|
||||
@@ -845,8 +845,8 @@
|
||||
560C97C61BFD0B8400BF8471 /* DatabaseFunctionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseFunctionTests.swift; sourceTree = "<group>"; };
|
||||
560D923E1C672C3E00F4F92B /* DatabaseValueConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertible.swift; sourceTree = "<group>"; };
|
||||
560D923F1C672C3E00F4F92B /* StatementColumnConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StatementColumnConvertible.swift; sourceTree = "<group>"; };
|
||||
560D92441C672C4B00F4F92B /* Persistable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Persistable.swift; sourceTree = "<group>"; };
|
||||
560D92461C672C4B00F4F92B /* TableMapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableMapping.swift; sourceTree = "<group>"; };
|
||||
560D92441C672C4B00F4F92B /* PersistableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableRecord.swift; sourceTree = "<group>"; };
|
||||
560D92461C672C4B00F4F92B /* TableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRecord.swift; sourceTree = "<group>"; };
|
||||
560FC54D1CB003810014AA8E /* GRDBCipher.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GRDBCipher.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
560FC5501CB004AD0014AA8E /* sqlcipher.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = sqlcipher.xcodeproj; path = SQLCipher/src/sqlcipher.xcodeproj; sourceTree = "<group>"; };
|
||||
560FC5B01CB00B880014AA8E /* GRDBCipherOSXTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBCipherOSXTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
@@ -863,13 +863,13 @@
|
||||
562EA8251F17B2AC00FA528C /* CompilationProtocolTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CompilationProtocolTests.swift; sourceTree = "<group>"; };
|
||||
562EA82E1F17B9EB00FA528C /* CompilationSubClassTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CompilationSubClassTests.swift; sourceTree = "<group>"; };
|
||||
56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceRequestTests.swift; sourceTree = "<group>"; };
|
||||
56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "RowConvertible+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceExpressionsTests.swift; sourceTree = "<group>"; };
|
||||
56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "TableMapping+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "TableRecord+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceRequest.swift; sourceTree = "<group>"; };
|
||||
56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Record+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
563363A91C933FF8000BE133 /* MutablePersistableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableTests.swift; sourceTree = "<group>"; };
|
||||
563363AA1C933FF8000BE133 /* PersistableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableTests.swift; sourceTree = "<group>"; };
|
||||
563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordTests.swift; sourceTree = "<group>"; };
|
||||
563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableRecordTests.swift; sourceTree = "<group>"; };
|
||||
563363BC1C93FD5E000BE133 /* DatabaseQueueConcurrencyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseQueueConcurrencyTests.swift; sourceTree = "<group>"; };
|
||||
563363BF1C942C04000BE133 /* DatabaseReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseReader.swift; sourceTree = "<group>"; };
|
||||
563363C31C942C37000BE133 /* DatabaseWriter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseWriter.swift; sourceTree = "<group>"; };
|
||||
@@ -895,7 +895,7 @@
|
||||
5659F48F1EA8D964004A4992 /* ReadWriteBox.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReadWriteBox.swift; sourceTree = "<group>"; };
|
||||
5659F4971EA8D989004A4992 /* Pool.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Pool.swift; sourceTree = "<group>"; };
|
||||
5659F49F1EA8D997004A4992 /* Result.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result.swift; sourceTree = "<group>"; };
|
||||
565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertibleTests.swift; sourceTree = "<group>"; };
|
||||
565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchableRecordTests.swift; sourceTree = "<group>"; };
|
||||
565D5D701BBC694D00DC9BD4 /* Row+FoundationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Row+FoundationTests.swift"; sourceTree = "<group>"; };
|
||||
565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "StatementArguments+FoundationTests.swift"; sourceTree = "<group>"; };
|
||||
565EFAED1D0436CE00A8FA9D /* NumericOverflowTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NumericOverflowTests.swift; sourceTree = "<group>"; };
|
||||
@@ -908,7 +908,7 @@
|
||||
5665F86A203EF47C0084C6C0 /* ColumnInfoTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ColumnInfoTests.swift; sourceTree = "<group>"; };
|
||||
566A842720413D6E00E50BFD /* DatabaseSnapshot.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseSnapshot.swift; sourceTree = "<group>"; };
|
||||
566A842F20413DCF00E50BFD /* DatabaseSnapshotTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseSnapshotTests.swift; sourceTree = "<group>"; };
|
||||
566A84452041AB3900E50BFD /* MutablePersistableChangesTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableChangesTests.swift; sourceTree = "<group>"; };
|
||||
566A84452041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordChangesTests.swift; sourceTree = "<group>"; };
|
||||
566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDefinition.swift; sourceTree = "<group>"; };
|
||||
566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDefinitionTests.swift; sourceTree = "<group>"; };
|
||||
566B91081FA4C3960012D5B0 /* Database+Statements.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Database+Statements.swift"; sourceTree = "<group>"; };
|
||||
@@ -926,13 +926,13 @@
|
||||
56741EA71E66A8B3003E422D /* FetchRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchRequestTests.swift; sourceTree = "<group>"; };
|
||||
5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6E31F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "RowConvertible+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F31F307F600095F066 /* Persistable+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Persistable+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PersistableRecord+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+ReferenceConvertible.swift"; sourceTree = "<group>"; };
|
||||
5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertibleDecodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A70B1F3087700095F066 /* DatabaseValueConvertibleEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertibleEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MutablePersistableEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RowConvertibleDecodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchableRecordDecodableTests.swift; sourceTree = "<group>"; };
|
||||
567A80521D41350C00C7DCEC /* IndexInfoTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IndexInfoTests.swift; sourceTree = "<group>"; };
|
||||
567DAF141EAB61ED00FC0928 /* grdb_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = grdb_config.h; sourceTree = "<group>"; };
|
||||
567DAF341EAB789800FC0928 /* DatabaseLogErrorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseLogErrorTests.swift; sourceTree = "<group>"; };
|
||||
@@ -1020,7 +1020,7 @@
|
||||
56AFCA231CB1A8BB00F48B96 /* GRDBCipher.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GRDBCipher.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
56AFCA7F1CB1AA9900F48B96 /* GRDBCipheriOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBCipheriOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
56AFCAD71CB1ABC800F48B96 /* GRDBCipheriOSEncryptedTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBCipheriOSEncryptedTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistablePersistenceConflictPolicyTests.swift; sourceTree = "<group>"; };
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordPersistenceConflictPolicyTests.swift; sourceTree = "<group>"; };
|
||||
56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowFromDictionaryLiteralTests.swift; sourceTree = "<group>"; };
|
||||
56B15D0A1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchedRecordsControllerTests.swift; sourceTree = "<group>"; };
|
||||
56B7F4291BE14A1900E39BBF /* CGFloatTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGFloatTests.swift; sourceTree = "<group>"; };
|
||||
@@ -1044,7 +1044,7 @@
|
||||
56CC923D201E034200CB597E /* PrefixWhileCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrefixWhileCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CC924B201E059100CB597E /* DropFirstCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DropFirstCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CC9256201E094E00CB597E /* PrefixCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrefixCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertible.swift; sourceTree = "<group>"; };
|
||||
56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchableRecord.swift; sourceTree = "<group>"; };
|
||||
56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FTS3.swift; sourceTree = "<group>"; };
|
||||
56CEB4F91EAA2F4D00BFAF62 /* FTS4.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FTS4.swift; sourceTree = "<group>"; };
|
||||
56CEB5101EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FTS3+QueryInterfaceRequest.swift"; sourceTree = "<group>"; };
|
||||
@@ -1056,7 +1056,7 @@
|
||||
56CEB5441EAA359A00BFAF62 /* SQLSelectable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLSelectable.swift; sourceTree = "<group>"; };
|
||||
56D121591ED34978001347D2 /* Fixits-0.109.0.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Fixits-0.109.0.swift"; sourceTree = "<group>"; };
|
||||
56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrimaryKeyInfoTests.swift; sourceTree = "<group>"; };
|
||||
56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "RowConvertible+TableMapping.swift"; sourceTree = "<group>"; };
|
||||
56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+TableRecord.swift"; sourceTree = "<group>"; };
|
||||
56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseCursorTests.swift; sourceTree = "<group>"; };
|
||||
56DAA2DA1DE9C827006E10C8 /* Cursor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Cursor.swift; sourceTree = "<group>"; };
|
||||
56DE7B101C3D93ED00861EB8 /* StatementArgumentsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StatementArgumentsTests.swift; sourceTree = "<group>"; };
|
||||
@@ -1073,8 +1073,8 @@
|
||||
56F3E7621E67F8C100BF0F01 /* Fixits-0.101.1.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Fixits-0.101.1.swift"; sourceTree = "<group>"; };
|
||||
56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "SQLExpression+QueryInterface.swift"; sourceTree = "<group>"; };
|
||||
56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowFromStatementTests.swift; sourceTree = "<group>"; };
|
||||
56FEE7FA1F47253700D930EA /* TableMappingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableMappingTests.swift; sourceTree = "<group>"; };
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableDeleteTests.swift; sourceTree = "<group>"; };
|
||||
56FEE7FA1F47253700D930EA /* TableRecordTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableRecordTests.swift; sourceTree = "<group>"; };
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordDeleteTests.swift; sourceTree = "<group>"; };
|
||||
56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordUniqueIndexTests.swift; sourceTree = "<group>"; };
|
||||
6340BF7F1E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordPersistenceConflictPolicy.swift; sourceTree = "<group>"; };
|
||||
DC2393C61ABE35F8003FF113 /* GRDB-Bridging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GRDB-Bridging.h"; sourceTree = "<group>"; };
|
||||
@@ -1203,17 +1203,17 @@
|
||||
name = DatabasePool;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
560B3FA41C19DFF800C58EC7 /* Persistable */ = {
|
||||
560B3FA41C19DFF800C58EC7 /* PersistableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
566A84452041AB3900E50BFD /* MutablePersistableChangesTests.swift */,
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */,
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */,
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */,
|
||||
563363A91C933FF8000BE133 /* MutablePersistableTests.swift */,
|
||||
563363AA1C933FF8000BE133 /* PersistableTests.swift */,
|
||||
566A84452041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift */,
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */,
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */,
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */,
|
||||
563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */,
|
||||
563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */,
|
||||
);
|
||||
name = Persistable;
|
||||
name = PersistableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
560FC54F1CB0047D0014AA8E /* GRDBCipher */ = {
|
||||
@@ -1255,12 +1255,12 @@
|
||||
path = GRDBTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56176C9C1EACEA8C000F3F2B /* TableMapping */ = {
|
||||
56176C9C1EACEA8C000F3F2B /* TableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56FEE7FA1F47253700D930EA /* TableMappingTests.swift */,
|
||||
56FEE7FA1F47253700D930EA /* TableRecordTests.swift */,
|
||||
);
|
||||
name = TableMapping;
|
||||
name = TableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56176C9E1EACEDF9000F3F2B /* Record */ = {
|
||||
@@ -1313,13 +1313,13 @@
|
||||
56300B5C1C53C38F005A543B /* QueryInterface */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */,
|
||||
56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */,
|
||||
5698AC021D9B9FCF0056AF8C /* QueryInterfaceExtensibilityTests.swift */,
|
||||
56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */,
|
||||
56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */,
|
||||
56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */,
|
||||
566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */,
|
||||
56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */,
|
||||
56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */,
|
||||
5698AC7F1DA380A20056AF8C /* VirtualTableModuleTests.swift */,
|
||||
);
|
||||
name = QueryInterface;
|
||||
@@ -1382,13 +1382,13 @@
|
||||
path = Support;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5674A7251F30A8EF0095F066 /* RowConvertible */ = {
|
||||
5674A7251F30A8EF0095F066 /* FetchableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */,
|
||||
565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */,
|
||||
5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */,
|
||||
565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */,
|
||||
);
|
||||
name = RowConvertible;
|
||||
name = FetchableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5698AC291D9E5A480056AF8C /* FTS */ = {
|
||||
@@ -1528,13 +1528,13 @@
|
||||
56A238251B9C74A90082EB20 /* Record */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5674A7251F30A8EF0095F066 /* FetchableRecord */,
|
||||
56B15D0A1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift */,
|
||||
564E73EB203DA29B000C443C /* JoinSupportTests.swift */,
|
||||
560B3FA41C19DFF800C58EC7 /* Persistable */,
|
||||
560B3FA41C19DFF800C58EC7 /* PersistableRecord */,
|
||||
56176C9E1EACEDF9000F3F2B /* Record */,
|
||||
5680521C2013296800E87861 /* RecordBoxTests.swift */,
|
||||
5674A7251F30A8EF0095F066 /* RowConvertible */,
|
||||
56176C9C1EACEA8C000F3F2B /* TableMapping */,
|
||||
56176C9C1EACEA8C000F3F2B /* TableRecord */,
|
||||
);
|
||||
name = Record;
|
||||
sourceTree = "<group>";
|
||||
@@ -1585,15 +1585,15 @@
|
||||
56A2389F1B9C753B0082EB20 /* Record */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */,
|
||||
5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */,
|
||||
56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */,
|
||||
31A7787C1C6A4DD600F507F6 /* FetchedRecordsController.swift */,
|
||||
560D92441C672C4B00F4F92B /* Persistable.swift */,
|
||||
5674A6F31F307F600095F066 /* Persistable+Encodable.swift */,
|
||||
560D92441C672C4B00F4F92B /* PersistableRecord.swift */,
|
||||
5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */,
|
||||
56A238A11B9C753B0082EB20 /* Record.swift */,
|
||||
5680520A2013209300E87861 /* RecordBox.swift */,
|
||||
56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */,
|
||||
5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */,
|
||||
56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */,
|
||||
560D92461C672C4B00F4F92B /* TableMapping.swift */,
|
||||
560D92461C672C4B00F4F92B /* TableRecord.swift */,
|
||||
);
|
||||
path = Record;
|
||||
sourceTree = "<group>";
|
||||
@@ -1994,7 +1994,7 @@
|
||||
56CEB5121EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift in Sources */,
|
||||
5659F4911EA8D964004A4992 /* ReadWriteBox.swift in Sources */,
|
||||
566A842920413D6F00E50BFD /* DatabaseSnapshot.swift in Sources */,
|
||||
56CEB4F21EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */,
|
||||
56CEB4F21EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */,
|
||||
560FC51C1CB003810014AA8E /* QueryInterfaceRequest.swift in Sources */,
|
||||
560FC51D1CB003810014AA8E /* SQLCollatedExpression.swift in Sources */,
|
||||
566B91341FA4D3810012D5B0 /* TransactionObserver.swift in Sources */,
|
||||
@@ -2016,7 +2016,7 @@
|
||||
564F9C2F1F07611400877A00 /* DatabaseFunction.swift in Sources */,
|
||||
5659F4991EA8D989004A4992 /* Pool.swift in Sources */,
|
||||
569B7FA8201C904C0069DE70 /* Swift4.1.swift in Sources */,
|
||||
5674A6FA1F307F600095F066 /* Persistable+Encodable.swift in Sources */,
|
||||
5674A6FA1F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */,
|
||||
56CEB54D1EAA359A00BFAF62 /* SQLExpressible.swift in Sources */,
|
||||
5664759B1D97D8A000FF74B8 /* SQLCollection.swift in Sources */,
|
||||
567404891CEF84C8003ED5CC /* RowAdapter.swift in Sources */,
|
||||
@@ -2033,14 +2033,14 @@
|
||||
56CEB55B1EAA359A00BFAF62 /* SQLOrdering.swift in Sources */,
|
||||
56BF6D301DEF47DA006039A3 /* Fixits-0-84-0.swift in Sources */,
|
||||
560FC52A1CB003810014AA8E /* DatabaseError.swift in Sources */,
|
||||
56D51D011EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */,
|
||||
56D51D011EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */,
|
||||
566475BB1D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift in Sources */,
|
||||
560FC52B1CB003810014AA8E /* DatabaseValue.swift in Sources */,
|
||||
5671FC211DA3CAC9003BF4FF /* FTS3TokenizerDescriptor.swift in Sources */,
|
||||
560FC52E1CB003810014AA8E /* Record.swift in Sources */,
|
||||
56CEB5461EAA359A00BFAF62 /* Column.swift in Sources */,
|
||||
5657AB101D10899D006283EF /* URL.swift in Sources */,
|
||||
560FC5311CB003810014AA8E /* TableMapping.swift in Sources */,
|
||||
560FC5311CB003810014AA8E /* TableRecord.swift in Sources */,
|
||||
56DAA2DC1DE9C827006E10C8 /* Cursor.swift in Sources */,
|
||||
5674A6F11F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */,
|
||||
560FC5321CB003810014AA8E /* DatabasePool.swift in Sources */,
|
||||
@@ -2060,7 +2060,7 @@
|
||||
560FC5391CB003810014AA8E /* DatabaseReader.swift in Sources */,
|
||||
560FC53A1CB003810014AA8E /* NSNull.swift in Sources */,
|
||||
56CEB51A1EAA328900BFAF62 /* FTS5+QueryInterface.swift in Sources */,
|
||||
5674A7011F307F600095F066 /* RowConvertible+Decodable.swift in Sources */,
|
||||
5674A7011F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */,
|
||||
5698AC791DA37DCB0056AF8C /* VirtualTableModule.swift in Sources */,
|
||||
560FC53B1CB003810014AA8E /* Database.swift in Sources */,
|
||||
566AD8B31D5318F4002EC1A8 /* TableDefinition.swift in Sources */,
|
||||
@@ -2071,7 +2071,7 @@
|
||||
560FC53F1CB003810014AA8E /* Row.swift in Sources */,
|
||||
560FC5401CB003810014AA8E /* StandardLibrary.swift in Sources */,
|
||||
5680520C2013209300E87861 /* RecordBox.swift in Sources */,
|
||||
560FC5411CB003810014AA8E /* Persistable.swift in Sources */,
|
||||
560FC5411CB003810014AA8E /* PersistableRecord.swift in Sources */,
|
||||
566475A31D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift in Sources */,
|
||||
5674A6EA1F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift in Sources */,
|
||||
5657AABA1D107001006283EF /* NSData.swift in Sources */,
|
||||
@@ -2087,7 +2087,7 @@
|
||||
files = (
|
||||
560FC5611CB00B880014AA8E /* DatabaseValueConversionTests.swift in Sources */,
|
||||
560FC5B31CB031EA0014AA8E /* DataMemoryTests.swift in Sources */,
|
||||
56FF45411D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */,
|
||||
56FF45411D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */,
|
||||
560FC5621CB00B880014AA8E /* Record+QueryInterfaceRequestTests.swift in Sources */,
|
||||
5698ACD81DA925420056AF8C /* RowTestCase.swift in Sources */,
|
||||
56A8C2411D1918EE0096E9D4 /* FoundationNSUUIDTests.swift in Sources */,
|
||||
@@ -2116,7 +2116,7 @@
|
||||
560FC5711CB00B880014AA8E /* RecordPrimaryKeySingleTests.swift in Sources */,
|
||||
560FC5721CB00B880014AA8E /* StatementColumnConvertibleTests.swift in Sources */,
|
||||
5674A7191F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */,
|
||||
56B021CA1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */,
|
||||
56B021CA1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */,
|
||||
562205F61E420E48005860AC /* DatabaseQueueReleaseMemoryTests.swift in Sources */,
|
||||
560FC5741CB00B880014AA8E /* DatabasePoolFunctionTests.swift in Sources */,
|
||||
560FC5761CB00B880014AA8E /* RowCopiedFromStatementTests.swift in Sources */,
|
||||
@@ -2145,9 +2145,9 @@
|
||||
56176C5F1EACCCC7000F3F2B /* FTS5CustomTokenizerTests.swift in Sources */,
|
||||
565F03C31CE5D3AA00DE108F /* RowAdapterTests.swift in Sources */,
|
||||
5657AB3F1D108BA9006283EF /* FoundationNSDataTests.swift in Sources */,
|
||||
560FC57E1CB00B880014AA8E /* MutablePersistableTests.swift in Sources */,
|
||||
560FC57E1CB00B880014AA8E /* MutablePersistableRecordTests.swift in Sources */,
|
||||
5657AB5F1D108BA9006283EF /* FoundationNSURLTests.swift in Sources */,
|
||||
560FC57F1CB00B880014AA8E /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */,
|
||||
560FC57F1CB00B880014AA8E /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
5698ACB71DA6285E0056AF8C /* FTS3TokenizerTests.swift in Sources */,
|
||||
5672DE5A1CDB72520022BA81 /* DatabaseQueueBackupTests.swift in Sources */,
|
||||
56176C601EACCCC7000F3F2B /* FTS5PatternTests.swift in Sources */,
|
||||
@@ -2160,12 +2160,12 @@
|
||||
567E55ED1D2BDD3D00CC6F79 /* EncryptionTests.swift in Sources */,
|
||||
56741EA91E66A8B3003E422D /* FetchRequestTests.swift in Sources */,
|
||||
56176C641EACCCC7000F3F2B /* FTS5WrapperTokenizerTests.swift in Sources */,
|
||||
560FC5841CB00B880014AA8E /* PersistableTests.swift in Sources */,
|
||||
560FC5841CB00B880014AA8E /* PersistableRecordTests.swift in Sources */,
|
||||
560FC5871CB00B880014AA8E /* RecordSubClassTests.swift in Sources */,
|
||||
560FC5891CB00B880014AA8E /* TransactionObserverTests.swift in Sources */,
|
||||
5674A72C1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */,
|
||||
5674A72C1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */,
|
||||
56C3F7541CF9F12400F6A361 /* DatabaseSavepointTests.swift in Sources */,
|
||||
56FEE7FC1F47253700D930EA /* TableMappingTests.swift in Sources */,
|
||||
56FEE7FC1F47253700D930EA /* TableRecordTests.swift in Sources */,
|
||||
56F3E74A1E66F83A00BF0F01 /* ResultCodeTests.swift in Sources */,
|
||||
567A80541D41350C00C7DCEC /* IndexInfoTests.swift in Sources */,
|
||||
560FC58B1CB00B880014AA8E /* DatabaseValueTests.swift in Sources */,
|
||||
@@ -2180,7 +2180,7 @@
|
||||
560FC5911CB00B880014AA8E /* RecordPrimaryKeySingleWithReplaceConflictResolutionTests.swift in Sources */,
|
||||
56CC924C201E059100CB597E /* DropFirstCursorTests.swift in Sources */,
|
||||
562393311DEDFC5700A6B01F /* AnyCursorTests.swift in Sources */,
|
||||
560FC5921CB00B880014AA8E /* RowConvertibleTests.swift in Sources */,
|
||||
560FC5921CB00B880014AA8E /* FetchableRecordTests.swift in Sources */,
|
||||
56A5EF101EF7F20B00F03071 /* ForeignKeyInfoTests.swift in Sources */,
|
||||
5657AB371D108BA9006283EF /* FoundationDataTests.swift in Sources */,
|
||||
560FC5941CB00B880014AA8E /* DatabaseValueConvertibleSubclassTests.swift in Sources */,
|
||||
@@ -2198,9 +2198,9 @@
|
||||
5623936A1DEE0CD200A6B01F /* FlattenCursorTests.swift in Sources */,
|
||||
560FC59C1CB00B880014AA8E /* StatementArguments+FoundationTests.swift in Sources */,
|
||||
5657AB671D108BA9006283EF /* FoundationURLTests.swift in Sources */,
|
||||
560FC59D1CB00B880014AA8E /* TableMapping+QueryInterfaceRequestTests.swift in Sources */,
|
||||
560FC59D1CB00B880014AA8E /* TableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
562205F51E420E48005860AC /* DatabasePoolSchemaCacheTests.swift in Sources */,
|
||||
566A84462041AB3900E50BFD /* MutablePersistableChangesTests.swift in Sources */,
|
||||
566A84462041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */,
|
||||
562393581DEE013C00A6B01F /* FilterCursorTests.swift in Sources */,
|
||||
560FC59E1CB00B880014AA8E /* FoundationNSDateTests.swift in Sources */,
|
||||
568068321EBBA26100EFB8AA /* SQLRequestTests.swift in Sources */,
|
||||
@@ -2209,7 +2209,7 @@
|
||||
5698ACCF1DA8C2620056AF8C /* RecordPrimaryKeyHiddenRowIDTests.swift in Sources */,
|
||||
560FC5A21CB00B880014AA8E /* DatabaseFunctionTests.swift in Sources */,
|
||||
560FC5A41CB00B880014AA8E /* RecordWithColumnNameManglingTests.swift in Sources */,
|
||||
5674A7221F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */,
|
||||
5674A7221F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */,
|
||||
5690C3271D23E6D800E59934 /* FoundationDateComponentsTests.swift in Sources */,
|
||||
560FC5A51CB00B880014AA8E /* CGFloatTests.swift in Sources */,
|
||||
56FF45571D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift in Sources */,
|
||||
@@ -2234,7 +2234,7 @@
|
||||
files = (
|
||||
5671561D1CB16729007DC145 /* DatabaseValueConversionTests.swift in Sources */,
|
||||
5671561E1CB16729007DC145 /* DataMemoryTests.swift in Sources */,
|
||||
56FF45421D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */,
|
||||
56FF45421D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */,
|
||||
5671561F1CB16729007DC145 /* Record+QueryInterfaceRequestTests.swift in Sources */,
|
||||
5698ACD91DA925420056AF8C /* RowTestCase.swift in Sources */,
|
||||
567156221CB16729007DC145 /* StatementColumnConvertibleFetchTests.swift in Sources */,
|
||||
@@ -2261,7 +2261,7 @@
|
||||
567156301CB16729007DC145 /* StatementColumnConvertibleTests.swift in Sources */,
|
||||
56C3F7551CF9F12400F6A361 /* DatabaseSavepointTests.swift in Sources */,
|
||||
5672DE5B1CDB72520022BA81 /* DatabaseQueueBackupTests.swift in Sources */,
|
||||
56B021CB1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */,
|
||||
56B021CB1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */,
|
||||
5674A71B1F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */,
|
||||
56B14E811D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */,
|
||||
562205F91E420E49005860AC /* DatabaseQueueReleaseMemoryTests.swift in Sources */,
|
||||
@@ -2291,8 +2291,8 @@
|
||||
5671563B1CB16729007DC145 /* RecordInitializersTests.swift in Sources */,
|
||||
56176C651EACCCC8000F3F2B /* FTS5CustomTokenizerTests.swift in Sources */,
|
||||
5657AB681D108BA9006283EF /* FoundationURLTests.swift in Sources */,
|
||||
5671563C1CB16729007DC145 /* MutablePersistableTests.swift in Sources */,
|
||||
5671563D1CB16729007DC145 /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */,
|
||||
5671563C1CB16729007DC145 /* MutablePersistableRecordTests.swift in Sources */,
|
||||
5671563D1CB16729007DC145 /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
567E55F31D2BDDFE00CC6F79 /* EncryptionTests.swift in Sources */,
|
||||
5671563F1CB16729007DC145 /* RecordCopyTests.swift in Sources */,
|
||||
5698ACB81DA6285E0056AF8C /* FTS3TokenizerTests.swift in Sources */,
|
||||
@@ -2300,7 +2300,7 @@
|
||||
56176C661EACCCC8000F3F2B /* FTS5PatternTests.swift in Sources */,
|
||||
564E73F0203DA2A3000C443C /* JoinSupportTests.swift in Sources */,
|
||||
5674A7131F3087710095F066 /* DatabaseValueConvertibleEncodableTests.swift in Sources */,
|
||||
567156411CB16729007DC145 /* PersistableTests.swift in Sources */,
|
||||
567156411CB16729007DC145 /* PersistableRecordTests.swift in Sources */,
|
||||
5665F86D203EF47D0084C6C0 /* ColumnInfoTests.swift in Sources */,
|
||||
5657AB501D108BA9006283EF /* FoundationNSNumberTests.swift in Sources */,
|
||||
567156441CB16729007DC145 /* RecordSubClassTests.swift in Sources */,
|
||||
@@ -2310,9 +2310,9 @@
|
||||
567156461CB16729007DC145 /* TransactionObserverTests.swift in Sources */,
|
||||
567A80551D41350C00C7DCEC /* IndexInfoTests.swift in Sources */,
|
||||
567156481CB16729007DC145 /* DatabaseValueTests.swift in Sources */,
|
||||
5674A72E1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */,
|
||||
5674A72E1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */,
|
||||
5671564A1CB16729007DC145 /* DatabaseQueueReadOnlyTests.swift in Sources */,
|
||||
56FEE7FD1F47253700D930EA /* TableMappingTests.swift in Sources */,
|
||||
56FEE7FD1F47253700D930EA /* TableRecordTests.swift in Sources */,
|
||||
56F3E74B1E66F83A00BF0F01 /* ResultCodeTests.swift in Sources */,
|
||||
5671564B1CB16729007DC145 /* Row+FoundationTests.swift in Sources */,
|
||||
56A8C2431D1918EE0096E9D4 /* FoundationNSUUIDTests.swift in Sources */,
|
||||
@@ -2323,7 +2323,7 @@
|
||||
5671564E1CB16729007DC145 /* DatabaseReaderTests.swift in Sources */,
|
||||
5671564F1CB16729007DC145 /* RecordEditedTests.swift in Sources */,
|
||||
567156501CB16729007DC145 /* RecordPrimaryKeySingleWithReplaceConflictResolutionTests.swift in Sources */,
|
||||
567156511CB16729007DC145 /* RowConvertibleTests.swift in Sources */,
|
||||
567156511CB16729007DC145 /* FetchableRecordTests.swift in Sources */,
|
||||
56A8C2441D1918EE0096E9D4 /* FoundationUUIDTests.swift in Sources */,
|
||||
56CC924D201E059100CB597E /* DropFirstCursorTests.swift in Sources */,
|
||||
562393321DEDFC5700A6B01F /* AnyCursorTests.swift in Sources */,
|
||||
@@ -2347,16 +2347,16 @@
|
||||
5671565A1CB16729007DC145 /* StatementArguments+FoundationTests.swift in Sources */,
|
||||
5657AB581D108BA9006283EF /* FoundationNSStringTests.swift in Sources */,
|
||||
562205F81E420E49005860AC /* DatabasePoolSchemaCacheTests.swift in Sources */,
|
||||
566A84472041AB3900E50BFD /* MutablePersistableChangesTests.swift in Sources */,
|
||||
566A84472041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */,
|
||||
562393591DEE013C00A6B01F /* FilterCursorTests.swift in Sources */,
|
||||
5671565B1CB16729007DC145 /* TableMapping+QueryInterfaceRequestTests.swift in Sources */,
|
||||
5671565B1CB16729007DC145 /* TableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
568068331EBBA26100EFB8AA /* SQLRequestTests.swift in Sources */,
|
||||
5671565C1CB16729007DC145 /* FoundationNSDateTests.swift in Sources */,
|
||||
5671565D1CB16729007DC145 /* DatabaseTests.swift in Sources */,
|
||||
5671565E1CB16729007DC145 /* QueryInterfaceRequestTests.swift in Sources */,
|
||||
5698ACD01DA8C2620056AF8C /* RecordPrimaryKeyHiddenRowIDTests.swift in Sources */,
|
||||
569178481CED9B6000E179EA /* DatabaseQueueTests.swift in Sources */,
|
||||
5674A7241F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */,
|
||||
5674A7241F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */,
|
||||
5634B1091CF9B970005360B9 /* TransactionObserverSavepointsTests.swift in Sources */,
|
||||
567156601CB16729007DC145 /* DatabaseFunctionTests.swift in Sources */,
|
||||
567156611CB16729007DC145 /* RecordWithColumnNameManglingTests.swift in Sources */,
|
||||
@@ -2388,7 +2388,7 @@
|
||||
56CEB5151EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift in Sources */,
|
||||
5659F4941EA8D964004A4992 /* ReadWriteBox.swift in Sources */,
|
||||
566A842A20413D8500E50BFD /* DatabaseSnapshot.swift in Sources */,
|
||||
56CEB4F51EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */,
|
||||
56CEB4F51EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */,
|
||||
56AFC9F11CB1A8BB00F48B96 /* QueryInterfaceRequest.swift in Sources */,
|
||||
56AFC9F21CB1A8BB00F48B96 /* SQLCollatedExpression.swift in Sources */,
|
||||
566B91371FA4D3810012D5B0 /* TransactionObserver.swift in Sources */,
|
||||
@@ -2410,7 +2410,7 @@
|
||||
564F9C321F07611700877A00 /* DatabaseFunction.swift in Sources */,
|
||||
5659F49C1EA8D989004A4992 /* Pool.swift in Sources */,
|
||||
569B7FA9201C904C0069DE70 /* Swift4.1.swift in Sources */,
|
||||
5674A6F71F307F600095F066 /* Persistable+Encodable.swift in Sources */,
|
||||
5674A6F71F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */,
|
||||
56CEB5501EAA359A00BFAF62 /* SQLExpressible.swift in Sources */,
|
||||
5664759E1D97D8A000FF74B8 /* SQLCollection.swift in Sources */,
|
||||
5674048B1CEF84C8003ED5CC /* RowAdapter.swift in Sources */,
|
||||
@@ -2427,11 +2427,11 @@
|
||||
56CEB55E1EAA359A00BFAF62 /* SQLOrdering.swift in Sources */,
|
||||
56BF6D331DEF47DA006039A3 /* Fixits-0-84-0.swift in Sources */,
|
||||
56AFC9FF1CB1A8BB00F48B96 /* DatabaseValueConvertible.swift in Sources */,
|
||||
56D51D041EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */,
|
||||
56D51D041EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */,
|
||||
566475BE1D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift in Sources */,
|
||||
56AFCA001CB1A8BB00F48B96 /* Record.swift in Sources */,
|
||||
5671FC241DA3CAC9003BF4FF /* FTS3TokenizerDescriptor.swift in Sources */,
|
||||
56AFCA031CB1A8BB00F48B96 /* TableMapping.swift in Sources */,
|
||||
56AFCA031CB1A8BB00F48B96 /* TableRecord.swift in Sources */,
|
||||
56CEB5491EAA359A00BFAF62 /* Column.swift in Sources */,
|
||||
5657AB131D10899D006283EF /* URL.swift in Sources */,
|
||||
56AFCA061CB1A8BB00F48B96 /* Configuration.swift in Sources */,
|
||||
@@ -2454,7 +2454,7 @@
|
||||
56AFCA0F1CB1A8BB00F48B96 /* NSNull.swift in Sources */,
|
||||
56AFCA101CB1A8BB00F48B96 /* DatabaseQueue.swift in Sources */,
|
||||
56CEB51D1EAA328900BFAF62 /* FTS5+QueryInterface.swift in Sources */,
|
||||
5674A6FE1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */,
|
||||
5674A6FE1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */,
|
||||
5698AC7C1DA37DCB0056AF8C /* VirtualTableModule.swift in Sources */,
|
||||
56AFCA111CB1A8BB00F48B96 /* DatabaseError.swift in Sources */,
|
||||
566AD8B61D5318F4002EC1A8 /* TableDefinition.swift in Sources */,
|
||||
@@ -2462,7 +2462,7 @@
|
||||
56AFCA121CB1A8BB00F48B96 /* NSNumber.swift in Sources */,
|
||||
569A98FD2039B72D008D7DBF /* Fixits-3.0.swift in Sources */,
|
||||
56AFCA141CB1A8BB00F48B96 /* StandardLibrary.swift in Sources */,
|
||||
56AFCA151CB1A8BB00F48B96 /* Persistable.swift in Sources */,
|
||||
56AFCA151CB1A8BB00F48B96 /* PersistableRecord.swift in Sources */,
|
||||
56AFCA161CB1A8BB00F48B96 /* StatementColumnConvertible.swift in Sources */,
|
||||
5680520D2013209900E87861 /* RecordBox.swift in Sources */,
|
||||
566475A61D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift in Sources */,
|
||||
@@ -2481,7 +2481,7 @@
|
||||
files = (
|
||||
56AFCA301CB1AA9900F48B96 /* Record+QueryInterfaceRequestTests.swift in Sources */,
|
||||
562393771DEE104400A6B01F /* MapCursorTests.swift in Sources */,
|
||||
56B021CE1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */,
|
||||
56B021CE1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */,
|
||||
56F26C241CEE3F34007969C4 /* RowAdapterTests.swift in Sources */,
|
||||
56AFCA311CB1AA9900F48B96 /* RecordPrimaryKeyNoneTests.swift in Sources */,
|
||||
56AFCA321CB1AA9900F48B96 /* DatabaseQueueConcurrencyTests.swift in Sources */,
|
||||
@@ -2525,10 +2525,10 @@
|
||||
56B15D0C1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift in Sources */,
|
||||
56AFCA4A1CB1AA9900F48B96 /* RecordInitializersTests.swift in Sources */,
|
||||
566AD8CB1D531BED002EC1A8 /* TableDefinitionTests.swift in Sources */,
|
||||
56AFCA4B1CB1AA9900F48B96 /* MutablePersistableTests.swift in Sources */,
|
||||
56AFCA4B1CB1AA9900F48B96 /* MutablePersistableRecordTests.swift in Sources */,
|
||||
56CC9259201E094F00CB597E /* PrefixCursorTests.swift in Sources */,
|
||||
5657AB431D108BA9006283EF /* FoundationNSDataTests.swift in Sources */,
|
||||
56AFCA4C1CB1AA9900F48B96 /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56AFCA4C1CB1AA9900F48B96 /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56CC9238201E009900CB597E /* DropWhileCursorTests.swift in Sources */,
|
||||
56D507631F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */,
|
||||
56176C751EACCCCA000F3F2B /* FTS5TokenizerTests.swift in Sources */,
|
||||
@@ -2540,8 +2540,8 @@
|
||||
56176C711EACCCCA000F3F2B /* FTS5CustomTokenizerTests.swift in Sources */,
|
||||
5672DE5D1CDB72520022BA81 /* DatabaseQueueBackupTests.swift in Sources */,
|
||||
56AFCA501CB1AA9900F48B96 /* RecordCopyTests.swift in Sources */,
|
||||
56FF45451D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */,
|
||||
56AFCA521CB1AA9900F48B96 /* PersistableTests.swift in Sources */,
|
||||
56FF45451D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */,
|
||||
56AFCA521CB1AA9900F48B96 /* PersistableRecordTests.swift in Sources */,
|
||||
56AFCA531CB1AA9900F48B96 /* DatabaseValueConversionTests.swift in Sources */,
|
||||
5657AB531D108BA9006283EF /* FoundationNSNumberTests.swift in Sources */,
|
||||
5698AC9B1DA4B0430056AF8C /* FTS4RecordTests.swift in Sources */,
|
||||
@@ -2558,9 +2558,9 @@
|
||||
5623935C1DEE013C00A6B01F /* FilterCursorTests.swift in Sources */,
|
||||
5698AC851DA380A20056AF8C /* VirtualTableModuleTests.swift in Sources */,
|
||||
5698AC451DA2BED90056AF8C /* FTS3PatternTests.swift in Sources */,
|
||||
5674A72B1F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */,
|
||||
5674A72B1F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */,
|
||||
56AF74701D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift in Sources */,
|
||||
56FEE8001F47253700D930EA /* TableMappingTests.swift in Sources */,
|
||||
56FEE8001F47253700D930EA /* TableRecordTests.swift in Sources */,
|
||||
56F3E74E1E66F83A00BF0F01 /* ResultCodeTests.swift in Sources */,
|
||||
5690C33C1D23E7D200E59934 /* FoundationDateTests.swift in Sources */,
|
||||
56AFCA581CB1AA9900F48B96 /* Row+FoundationTests.swift in Sources */,
|
||||
@@ -2570,7 +2570,7 @@
|
||||
56AFCA5C1CB1AA9900F48B96 /* DatabaseQueueReadOnlyTests.swift in Sources */,
|
||||
56AFCA5D1CB1AA9900F48B96 /* DatabaseReaderTests.swift in Sources */,
|
||||
56A8C2491D1918F10096E9D4 /* FoundationNSUUIDTests.swift in Sources */,
|
||||
56AFCA5E1CB1AA9900F48B96 /* RowConvertibleTests.swift in Sources */,
|
||||
56AFCA5E1CB1AA9900F48B96 /* FetchableRecordTests.swift in Sources */,
|
||||
56AFCA5F1CB1AA9900F48B96 /* DatabaseValueConvertibleFetchTests.swift in Sources */,
|
||||
56AFCA601CB1AA9900F48B96 /* RecordPrimaryKeyRowIDTests.swift in Sources */,
|
||||
56CC924E201E059100CB597E /* DropFirstCursorTests.swift in Sources */,
|
||||
@@ -2594,16 +2594,16 @@
|
||||
565EFAF31D0436CE00A8FA9D /* NumericOverflowTests.swift in Sources */,
|
||||
56AFCA671CB1AA9900F48B96 /* DatabasePoolReleaseMemoryTests.swift in Sources */,
|
||||
56AFCA681CB1AA9900F48B96 /* RecordMinimalPrimaryKeySingleTests.swift in Sources */,
|
||||
566A84482041AB3900E50BFD /* MutablePersistableChangesTests.swift in Sources */,
|
||||
566A84482041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */,
|
||||
56B14E841D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */,
|
||||
56AFCA6B1CB1AA9900F48B96 /* DatabaseTimestampTests.swift in Sources */,
|
||||
568068361EBBA26100EFB8AA /* SQLRequestTests.swift in Sources */,
|
||||
56AFCA6C1CB1AA9900F48B96 /* StatementArguments+FoundationTests.swift in Sources */,
|
||||
562393651DEE06D300A6B01F /* CursorTests.swift in Sources */,
|
||||
5657AB5B1D108BA9006283EF /* FoundationNSStringTests.swift in Sources */,
|
||||
56AFCA6D1CB1AA9900F48B96 /* TableMapping+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56AFCA6D1CB1AA9900F48B96 /* TableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56AFCA6E1CB1AA9900F48B96 /* FoundationNSDateTests.swift in Sources */,
|
||||
5674A7211F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */,
|
||||
5674A7211F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */,
|
||||
56AFCA6F1CB1AA9900F48B96 /* DatabaseTests.swift in Sources */,
|
||||
56AFCA701CB1AA9900F48B96 /* QueryInterfaceRequestTests.swift in Sources */,
|
||||
5634B10B1CF9B970005360B9 /* TransactionObserverSavepointsTests.swift in Sources */,
|
||||
@@ -2628,7 +2628,7 @@
|
||||
files = (
|
||||
56C3F7581CF9F12400F6A361 /* DatabaseSavepointTests.swift in Sources */,
|
||||
562393781DEE104400A6B01F /* MapCursorTests.swift in Sources */,
|
||||
56B021CF1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */,
|
||||
56B021CF1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */,
|
||||
56AFCA891CB1ABC800F48B96 /* Record+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56AFCA8A1CB1ABC800F48B96 /* RecordPrimaryKeyNoneTests.swift in Sources */,
|
||||
56AFCA8B1CB1ABC800F48B96 /* DatabaseQueueConcurrencyTests.swift in Sources */,
|
||||
@@ -2680,17 +2680,17 @@
|
||||
56D507641F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */,
|
||||
56176C7B1EACCCCB000F3F2B /* FTS5TokenizerTests.swift in Sources */,
|
||||
566AD8CC1D531BEE002EC1A8 /* TableDefinitionTests.swift in Sources */,
|
||||
56AFCAA41CB1ABC800F48B96 /* MutablePersistableTests.swift in Sources */,
|
||||
56AFCAA41CB1ABC800F48B96 /* MutablePersistableRecordTests.swift in Sources */,
|
||||
567F45AE1F888B2600030B59 /* TruncateOptimizationTests.swift in Sources */,
|
||||
56AFCAA51CB1ABC800F48B96 /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56AFCAA51CB1ABC800F48B96 /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56AFCAA61CB1ABC800F48B96 /* DatabasePoolReadOnlyTests.swift in Sources */,
|
||||
56176C771EACCCCB000F3F2B /* FTS5CustomTokenizerTests.swift in Sources */,
|
||||
5657AB6C1D108BA9006283EF /* FoundationURLTests.swift in Sources */,
|
||||
56AFCAA81CB1ABC800F48B96 /* DataMemoryTests.swift in Sources */,
|
||||
56AFCAA91CB1ABC800F48B96 /* RecordCopyTests.swift in Sources */,
|
||||
56A8C24B1D1918F10096E9D4 /* FoundationNSUUIDTests.swift in Sources */,
|
||||
56AFCAAB1CB1ABC800F48B96 /* PersistableTests.swift in Sources */,
|
||||
56FF45461D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */,
|
||||
56AFCAAB1CB1ABC800F48B96 /* PersistableRecordTests.swift in Sources */,
|
||||
56FF45461D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */,
|
||||
5698AC9C1DA4B0430056AF8C /* FTS4RecordTests.swift in Sources */,
|
||||
56176C781EACCCCB000F3F2B /* FTS5PatternTests.swift in Sources */,
|
||||
564E73F2203DA2A4000C443C /* JoinSupportTests.swift in Sources */,
|
||||
@@ -2705,9 +2705,9 @@
|
||||
5698AC861DA380A20056AF8C /* VirtualTableModuleTests.swift in Sources */,
|
||||
5698AC461DA2BED90056AF8C /* FTS3PatternTests.swift in Sources */,
|
||||
56AF74711D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift in Sources */,
|
||||
5674A7281F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */,
|
||||
5674A7281F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */,
|
||||
56AFCAAE1CB1ABC800F48B96 /* RawRepresentable+DatabaseValueConvertibleTests.swift in Sources */,
|
||||
56FEE8011F47253700D930EA /* TableMappingTests.swift in Sources */,
|
||||
56FEE8011F47253700D930EA /* TableRecordTests.swift in Sources */,
|
||||
56F3E74F1E66F83A00BF0F01 /* ResultCodeTests.swift in Sources */,
|
||||
56AFCAAF1CB1ABC800F48B96 /* DatabasePoolConcurrencyTests.swift in Sources */,
|
||||
56AFCAB01CB1ABC800F48B96 /* TransactionObserverTests.swift in Sources */,
|
||||
@@ -2721,7 +2721,7 @@
|
||||
56AFCAB51CB1ABC800F48B96 /* DatabaseQueueReadOnlyTests.swift in Sources */,
|
||||
56AFCAB61CB1ABC800F48B96 /* DatabaseReaderTests.swift in Sources */,
|
||||
56CC924F201E059100CB597E /* DropFirstCursorTests.swift in Sources */,
|
||||
56AFCAB71CB1ABC800F48B96 /* RowConvertibleTests.swift in Sources */,
|
||||
56AFCAB71CB1ABC800F48B96 /* FetchableRecordTests.swift in Sources */,
|
||||
56B15D0D1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift in Sources */,
|
||||
56A5EF151EF7F20B00F03071 /* ForeignKeyInfoTests.swift in Sources */,
|
||||
5623931E1DECC02000A6B01F /* RowFetchTests.swift in Sources */,
|
||||
@@ -2741,16 +2741,16 @@
|
||||
56AFCABF1CB1ABC800F48B96 /* DatabaseQueueReleaseMemoryTests.swift in Sources */,
|
||||
56AFCAC01CB1ABC800F48B96 /* DatabasePoolReleaseMemoryTests.swift in Sources */,
|
||||
56AFCAC11CB1ABC800F48B96 /* RecordMinimalPrimaryKeySingleTests.swift in Sources */,
|
||||
566A84492041AB3900E50BFD /* MutablePersistableChangesTests.swift in Sources */,
|
||||
566A84492041AB3900E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */,
|
||||
56B14E851D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */,
|
||||
56AFCAC41CB1ABC800F48B96 /* DatabaseTimestampTests.swift in Sources */,
|
||||
568068371EBBA26100EFB8AA /* SQLRequestTests.swift in Sources */,
|
||||
56AFCAC51CB1ABC800F48B96 /* StatementArguments+FoundationTests.swift in Sources */,
|
||||
562393661DEE06D300A6B01F /* CursorTests.swift in Sources */,
|
||||
56AFCAC61CB1ABC800F48B96 /* TableMapping+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56AFCAC61CB1ABC800F48B96 /* TableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
56AFCAC71CB1ABC800F48B96 /* FoundationNSDateTests.swift in Sources */,
|
||||
56AFCAC81CB1ABC800F48B96 /* DatabaseTests.swift in Sources */,
|
||||
5674A71E1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */,
|
||||
5674A71E1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */,
|
||||
56AFCAC91CB1ABC800F48B96 /* QueryInterfaceRequestTests.swift in Sources */,
|
||||
5691784B1CED9B6000E179EA /* DatabaseQueueTests.swift in Sources */,
|
||||
56AFCACB1CB1ABC800F48B96 /* DatabaseFunctionTests.swift in Sources */,
|
||||
@@ -2843,7 +2843,6 @@
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
};
|
||||
name = Release;
|
||||
@@ -2880,7 +2879,6 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.github.groue.GRDBCipherOSXTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = macosx;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
};
|
||||
name = Release;
|
||||
@@ -2917,7 +2915,6 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.github.groue.GRDBCipherOSXTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = macosx;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
};
|
||||
name = Release;
|
||||
@@ -2968,7 +2965,6 @@
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
SDKROOT = iphoneos;
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
@@ -3006,7 +3002,6 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.github.groue.GRDBCipheriOSTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
};
|
||||
name = Release;
|
||||
@@ -3043,7 +3038,6 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.github.groue.GRDBCipheriOSEncryptedTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
};
|
||||
name = Release;
|
||||
@@ -3143,7 +3137,6 @@
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
SWIFT_VERSION = 4.0;
|
||||
VALIDATE_PRODUCT = YES;
|
||||
|
||||
@@ -93,8 +93,8 @@
|
||||
566A842E20413D9A00E50BFD /* DatabaseSnapshot.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A842B20413D9A00E50BFD /* DatabaseSnapshot.swift */; };
|
||||
566A843520413DE400E50BFD /* DatabaseSnapshotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A843420413DE400E50BFD /* DatabaseSnapshotTests.swift */; };
|
||||
566A843620413DE400E50BFD /* DatabaseSnapshotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A843420413DE400E50BFD /* DatabaseSnapshotTests.swift */; };
|
||||
566A84432041AB2D00E50BFD /* MutablePersistableChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84422041AB2D00E50BFD /* MutablePersistableChangesTests.swift */; };
|
||||
566A84442041AB2D00E50BFD /* MutablePersistableChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84422041AB2D00E50BFD /* MutablePersistableChangesTests.swift */; };
|
||||
566A84432041AB2D00E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84422041AB2D00E50BFD /* MutablePersistableRecordChangesTests.swift */; };
|
||||
566A84442041AB2D00E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566A84422041AB2D00E50BFD /* MutablePersistableRecordChangesTests.swift */; };
|
||||
566AD8B41D5318F4002EC1A8 /* TableDefinition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */; };
|
||||
566AD8B71D5318F4002EC1A8 /* TableDefinition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */; };
|
||||
566AD8C91D531BEB002EC1A8 /* TableDefinitionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */; };
|
||||
@@ -117,20 +117,20 @@
|
||||
5674A6E61F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E31F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift */; };
|
||||
5674A6EC1F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */; };
|
||||
5674A6ED1F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */; };
|
||||
5674A6F51F307F600095F066 /* Persistable+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* Persistable+Encodable.swift */; };
|
||||
5674A6F61F307F600095F066 /* Persistable+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* Persistable+Encodable.swift */; };
|
||||
5674A6FC1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */; };
|
||||
5674A6FD1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */; };
|
||||
5674A6F51F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */; };
|
||||
5674A6F61F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */; };
|
||||
5674A6FC1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */; };
|
||||
5674A6FD1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */; };
|
||||
5674A7041F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */; };
|
||||
5674A7051F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */; };
|
||||
5674A70C1F3087710095F066 /* DatabaseValueConvertibleEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70B1F3087700095F066 /* DatabaseValueConvertibleEncodableTests.swift */; };
|
||||
5674A70E1F3087710095F066 /* DatabaseValueConvertibleEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70B1F3087700095F066 /* DatabaseValueConvertibleEncodableTests.swift */; };
|
||||
5674A7141F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */; };
|
||||
5674A7161F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */; };
|
||||
5674A71D1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */; };
|
||||
5674A71F1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */; };
|
||||
5674A7271F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */; };
|
||||
5674A7291F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */; };
|
||||
5674A71D1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */; };
|
||||
5674A71F1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */; };
|
||||
5674A7271F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */; };
|
||||
5674A7291F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */; };
|
||||
567A80561D41350C00C7DCEC /* IndexInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567A80521D41350C00C7DCEC /* IndexInfoTests.swift */; };
|
||||
567A805A1D41350C00C7DCEC /* IndexInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 567A80521D41350C00C7DCEC /* IndexInfoTests.swift */; };
|
||||
567DAF1E1EAB61ED00FC0928 /* grdb_config.h in Headers */ = {isa = PBXBuildFile; fileRef = 567DAF141EAB61ED00FC0928 /* grdb_config.h */; settings = {ATTRIBUTES = (Private, ); }; };
|
||||
@@ -205,8 +205,8 @@
|
||||
56A8C24E1D1918F30096E9D4 /* FoundationUUIDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A8C21E1D1914110096E9D4 /* FoundationUUIDTests.swift */; };
|
||||
56AF746E1D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56AF746A1D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift */; };
|
||||
56AF74721D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56AF746A1D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift */; };
|
||||
56B021CC1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */; };
|
||||
56B021D01D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */; };
|
||||
56B021CC1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */; };
|
||||
56B021D01D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */; };
|
||||
56B14E821D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */; };
|
||||
56B14E861D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */; };
|
||||
56B9649F1DA51B4C0002DA19 /* FTS5.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B9649C1DA51B4C0002DA19 /* FTS5.swift */; };
|
||||
@@ -238,8 +238,8 @@
|
||||
56CC924A201E058900CB597E /* DropFirstCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9248201E058900CB597E /* DropFirstCursorTests.swift */; };
|
||||
56CC9254201E094600CB597E /* PrefixCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9253201E094600CB597E /* PrefixCursorTests.swift */; };
|
||||
56CC9255201E094600CB597E /* PrefixCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CC9253201E094600CB597E /* PrefixCursorTests.swift */; };
|
||||
56CEB4F31EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */; };
|
||||
56CEB4F61EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */; };
|
||||
56CEB4F31EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */; };
|
||||
56CEB4F61EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */; };
|
||||
56CEB4FC1EAA2F4D00BFAF62 /* FTS3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */; };
|
||||
56CEB4FF1EAA2F4D00BFAF62 /* FTS3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */; };
|
||||
56CEB5031EAA2F4D00BFAF62 /* FTS4.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CEB4F91EAA2F4D00BFAF62 /* FTS4.swift */; };
|
||||
@@ -262,8 +262,8 @@
|
||||
56D1215F1ED34978001347D2 /* Fixits-0.109.0.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D121591ED34978001347D2 /* Fixits-0.109.0.swift */; };
|
||||
56D507611F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */; };
|
||||
56D507651F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */; };
|
||||
56D51D021EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */; };
|
||||
56D51D051EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */; };
|
||||
56D51D021EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */; };
|
||||
56D51D051EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */; };
|
||||
56DAA2D51DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */; };
|
||||
56DAA2D91DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */; };
|
||||
56DAA2DD1DE9C827006E10C8 /* Cursor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56DAA2DA1DE9C827006E10C8 /* Cursor.swift */; };
|
||||
@@ -278,10 +278,10 @@
|
||||
56F3E7681E67F8C100BF0F01 /* Fixits-0.101.1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56F3E7621E67F8C100BF0F01 /* Fixits-0.101.1.swift */; };
|
||||
56FC987A1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */; };
|
||||
56FC987D1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */; };
|
||||
56FEE7FE1F47253700D930EA /* TableMappingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableMappingTests.swift */; };
|
||||
56FEE8021F47253700D930EA /* TableMappingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableMappingTests.swift */; };
|
||||
56FF45431D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */; };
|
||||
56FF45471D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */; };
|
||||
56FEE7FE1F47253700D930EA /* TableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableRecordTests.swift */; };
|
||||
56FEE8021F47253700D930EA /* TableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FEE7FA1F47253700D930EA /* TableRecordTests.swift */; };
|
||||
56FF45431D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */; };
|
||||
56FF45471D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */; };
|
||||
56FF45591D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */; };
|
||||
56FF455D1D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */; };
|
||||
6340BF831E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6340BF7F1E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift */; };
|
||||
@@ -317,9 +317,9 @@
|
||||
F3BA80301CFB289F003DC1BA /* DatabaseMigrator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238921B9C750B0082EB20 /* DatabaseMigrator.swift */; };
|
||||
F3BA80311CFB289F003DC1BA /* Migration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4391BEB42D500E39BBF /* Migration.swift */; };
|
||||
F3BA80321CFB28A4003DC1BA /* FetchedRecordsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31A7787C1C6A4DD600F507F6 /* FetchedRecordsController.swift */; };
|
||||
F3BA80331CFB28A4003DC1BA /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* Persistable.swift */; };
|
||||
F3BA80331CFB28A4003DC1BA /* PersistableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* PersistableRecord.swift */; };
|
||||
F3BA80341CFB28A4003DC1BA /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A11B9C753B0082EB20 /* Record.swift */; };
|
||||
F3BA80361CFB28A4003DC1BA /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
F3BA80361CFB28A4003DC1BA /* TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableRecord.swift */; };
|
||||
F3BA80381CFB2932003DC1BA /* GRDBCustomSQLite.h in Headers */ = {isa = PBXBuildFile; fileRef = F3BA7FF11CFB23D3003DC1BA /* GRDBCustomSQLite.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
F3BA80391CFB2936003DC1BA /* GRDBCustomSQLite-Bridging.h in Headers */ = {isa = PBXBuildFile; fileRef = F3BA7FF21CFB23DA003DC1BA /* GRDBCustomSQLite-Bridging.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
F3BA803A1CFB293A003DC1BA /* sqlite3.h in Headers */ = {isa = PBXBuildFile; fileRef = F3BA7FF01CFB23C9003DC1BA /* sqlite3.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
@@ -361,9 +361,9 @@
|
||||
F3BA808C1CFB2E75003DC1BA /* DatabaseMigrator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238921B9C750B0082EB20 /* DatabaseMigrator.swift */; };
|
||||
F3BA808D1CFB2E75003DC1BA /* Migration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4391BEB42D500E39BBF /* Migration.swift */; };
|
||||
F3BA808E1CFB2E7A003DC1BA /* FetchedRecordsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31A7787C1C6A4DD600F507F6 /* FetchedRecordsController.swift */; };
|
||||
F3BA808F1CFB2E7A003DC1BA /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* Persistable.swift */; };
|
||||
F3BA808F1CFB2E7A003DC1BA /* PersistableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* PersistableRecord.swift */; };
|
||||
F3BA80901CFB2E7A003DC1BA /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A11B9C753B0082EB20 /* Record.swift */; };
|
||||
F3BA80921CFB2E7A003DC1BA /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
F3BA80921CFB2E7A003DC1BA /* TableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableRecord.swift */; };
|
||||
F3BA80931CFB2F13003DC1BA /* GRDBCustomSQLite.h in Headers */ = {isa = PBXBuildFile; fileRef = F3BA7FF11CFB23D3003DC1BA /* GRDBCustomSQLite.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
F3BA80941CFB2F15003DC1BA /* GRDBCustomSQLite-Bridging.h in Headers */ = {isa = PBXBuildFile; fileRef = F3BA7FF21CFB23DA003DC1BA /* GRDBCustomSQLite-Bridging.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
F3BA80951CFB2F18003DC1BA /* sqlite3.h in Headers */ = {isa = PBXBuildFile; fileRef = F3BA7FF01CFB23C9003DC1BA /* sqlite3.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
@@ -399,10 +399,10 @@
|
||||
F3BA80CE1CFB2FDE003DC1BA /* Betty.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = 5687359E1CEDE16C009B9116 /* Betty.jpeg */; };
|
||||
F3BA80CF1CFB2FEA003DC1BA /* SchedulingWatchdogTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 569C1EB11CF07DDD0042627B /* SchedulingWatchdogTests.swift */; };
|
||||
F3BA80D01CFB2FEC003DC1BA /* SchedulingWatchdogTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 569C1EB11CF07DDD0042627B /* SchedulingWatchdogTests.swift */; };
|
||||
F3BA80D11CFB2FF3003DC1BA /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableTests.swift */; };
|
||||
F3BA80D21CFB2FF3003DC1BA /* PersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableTests.swift */; };
|
||||
F3BA80D31CFB2FF4003DC1BA /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableTests.swift */; };
|
||||
F3BA80D41CFB2FF4003DC1BA /* PersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableTests.swift */; };
|
||||
F3BA80D11CFB2FF3003DC1BA /* MutablePersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */; };
|
||||
F3BA80D21CFB2FF3003DC1BA /* PersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */; };
|
||||
F3BA80D31CFB2FF4003DC1BA /* MutablePersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */; };
|
||||
F3BA80D41CFB2FF4003DC1BA /* PersistableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */; };
|
||||
F3BA80D51CFB2FFB003DC1BA /* DatabaseReaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA86931C91DFE7002BB4DF /* DatabaseReaderTests.swift */; };
|
||||
F3BA80D61CFB2FFD003DC1BA /* DatabaseReaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EA86931C91DFE7002BB4DF /* DatabaseReaderTests.swift */; };
|
||||
F3BA80D71CFB300A003DC1BA /* DatabaseValueTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238181B9C74A90082EB20 /* DatabaseValueTests.swift */; };
|
||||
@@ -423,12 +423,12 @@
|
||||
F3BA80E81CFB3016003DC1BA /* RowFromDictionaryTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381E1B9C74A90082EB20 /* RowFromDictionaryTests.swift */; };
|
||||
F3BA80E91CFB3016003DC1BA /* RowAdapterTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565F03C11CE5D3AA00DE108F /* RowAdapterTests.swift */; };
|
||||
F3BA80EA1CFB3016003DC1BA /* RowFromStatementTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */; };
|
||||
F3BA80EB1CFB3016003DC1BA /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
F3BA80EB1CFB3016003DC1BA /* FetchableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */; };
|
||||
F3BA80EC1CFB3017003DC1BA /* RowCopiedFromStatementTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381F1B9C74A90082EB20 /* RowCopiedFromStatementTests.swift */; };
|
||||
F3BA80ED1CFB3017003DC1BA /* RowFromDictionaryTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381E1B9C74A90082EB20 /* RowFromDictionaryTests.swift */; };
|
||||
F3BA80EE1CFB3017003DC1BA /* RowAdapterTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565F03C11CE5D3AA00DE108F /* RowAdapterTests.swift */; };
|
||||
F3BA80EF1CFB3017003DC1BA /* RowFromStatementTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */; };
|
||||
F3BA80F01CFB3017003DC1BA /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
F3BA80F01CFB3017003DC1BA /* FetchableRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */; };
|
||||
F3BA80F11CFB3019003DC1BA /* DatabaseSavepointTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56C3F7521CF9F12400F6A361 /* DatabaseSavepointTests.swift */; };
|
||||
F3BA80F21CFB301A003DC1BA /* DatabaseSavepointTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56C3F7521CF9F12400F6A361 /* DatabaseSavepointTests.swift */; };
|
||||
F3BA80F31CFB301D003DC1BA /* StatementColumnConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56EE573C1BB317B7007A6A95 /* StatementColumnConvertibleTests.swift */; };
|
||||
@@ -457,14 +457,14 @@
|
||||
F3BA81131CFB305B003DC1BA /* DatabaseMigratorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238241B9C74A90082EB20 /* DatabaseMigratorTests.swift */; };
|
||||
F3BA81141CFB305E003DC1BA /* QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */; };
|
||||
F3BA81151CFB305E003DC1BA /* Record+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA81161CFB305E003DC1BA /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA81161CFB305E003DC1BA /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA81171CFB305E003DC1BA /* QueryInterfaceExpressionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */; };
|
||||
F3BA81181CFB305E003DC1BA /* TableMapping+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA81181CFB305E003DC1BA /* TableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA81191CFB305F003DC1BA /* QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */; };
|
||||
F3BA811A1CFB305F003DC1BA /* Record+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA811B1CFB305F003DC1BA /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA811B1CFB305F003DC1BA /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA811C1CFB305F003DC1BA /* QueryInterfaceExpressionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */; };
|
||||
F3BA811D1CFB305F003DC1BA /* TableMapping+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA811D1CFB305F003DC1BA /* TableRecord+QueryInterfaceRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */; };
|
||||
F3BA811E1CFB3063003DC1BA /* RecordMinimalPrimaryKeyRowIDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238261B9C74A90082EB20 /* RecordMinimalPrimaryKeyRowIDTests.swift */; };
|
||||
F3BA811F1CFB3063003DC1BA /* RecordMinimalPrimaryKeySingleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238271B9C74A90082EB20 /* RecordMinimalPrimaryKeySingleTests.swift */; };
|
||||
F3BA81201CFB3063003DC1BA /* RecordPrimaryKeyMultipleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238281B9C74A90082EB20 /* RecordPrimaryKeyMultipleTests.swift */; };
|
||||
@@ -549,8 +549,8 @@
|
||||
560C97C61BFD0B8400BF8471 /* DatabaseFunctionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseFunctionTests.swift; sourceTree = "<group>"; };
|
||||
560D923E1C672C3E00F4F92B /* DatabaseValueConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertible.swift; sourceTree = "<group>"; };
|
||||
560D923F1C672C3E00F4F92B /* StatementColumnConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StatementColumnConvertible.swift; sourceTree = "<group>"; };
|
||||
560D92441C672C4B00F4F92B /* Persistable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Persistable.swift; sourceTree = "<group>"; };
|
||||
560D92461C672C4B00F4F92B /* TableMapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableMapping.swift; sourceTree = "<group>"; };
|
||||
560D92441C672C4B00F4F92B /* PersistableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableRecord.swift; sourceTree = "<group>"; };
|
||||
560D92461C672C4B00F4F92B /* TableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRecord.swift; sourceTree = "<group>"; };
|
||||
561667001D08A49900ADD404 /* FoundationNSDecimalNumberTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FoundationNSDecimalNumberTests.swift; sourceTree = "<group>"; };
|
||||
562393171DECC02000A6B01F /* RowFetchTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowFetchTests.swift; sourceTree = "<group>"; };
|
||||
5623932F1DEDFC5700A6B01F /* AnyCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyCursorTests.swift; sourceTree = "<group>"; };
|
||||
@@ -564,13 +564,13 @@
|
||||
562EA8251F17B2AC00FA528C /* CompilationProtocolTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CompilationProtocolTests.swift; sourceTree = "<group>"; };
|
||||
562EA82E1F17B9EB00FA528C /* CompilationSubClassTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CompilationSubClassTests.swift; sourceTree = "<group>"; };
|
||||
56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceRequestTests.swift; sourceTree = "<group>"; };
|
||||
56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "RowConvertible+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceExpressionsTests.swift; sourceTree = "<group>"; };
|
||||
56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "TableMapping+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "TableRecord+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceRequest.swift; sourceTree = "<group>"; };
|
||||
56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Record+QueryInterfaceRequestTests.swift"; sourceTree = "<group>"; };
|
||||
563363A91C933FF8000BE133 /* MutablePersistableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableTests.swift; sourceTree = "<group>"; };
|
||||
563363AA1C933FF8000BE133 /* PersistableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableTests.swift; sourceTree = "<group>"; };
|
||||
563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordTests.swift; sourceTree = "<group>"; };
|
||||
563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableRecordTests.swift; sourceTree = "<group>"; };
|
||||
563363BC1C93FD5E000BE133 /* DatabaseQueueConcurrencyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseQueueConcurrencyTests.swift; sourceTree = "<group>"; };
|
||||
563363BF1C942C04000BE133 /* DatabaseReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseReader.swift; sourceTree = "<group>"; };
|
||||
563363C31C942C37000BE133 /* DatabaseWriter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseWriter.swift; sourceTree = "<group>"; };
|
||||
@@ -596,7 +596,7 @@
|
||||
5659F48F1EA8D964004A4992 /* ReadWriteBox.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReadWriteBox.swift; sourceTree = "<group>"; };
|
||||
5659F4971EA8D989004A4992 /* Pool.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Pool.swift; sourceTree = "<group>"; };
|
||||
5659F49F1EA8D997004A4992 /* Result.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result.swift; sourceTree = "<group>"; };
|
||||
565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertibleTests.swift; sourceTree = "<group>"; };
|
||||
565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchableRecordTests.swift; sourceTree = "<group>"; };
|
||||
565D5D701BBC694D00DC9BD4 /* Row+FoundationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Row+FoundationTests.swift"; sourceTree = "<group>"; };
|
||||
565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "StatementArguments+FoundationTests.swift"; sourceTree = "<group>"; };
|
||||
565EFAED1D0436CE00A8FA9D /* NumericOverflowTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NumericOverflowTests.swift; sourceTree = "<group>"; };
|
||||
@@ -609,7 +609,7 @@
|
||||
5665F865203EF4590084C6C0 /* ColumnInfoTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ColumnInfoTests.swift; sourceTree = "<group>"; };
|
||||
566A842B20413D9A00E50BFD /* DatabaseSnapshot.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseSnapshot.swift; sourceTree = "<group>"; };
|
||||
566A843420413DE400E50BFD /* DatabaseSnapshotTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseSnapshotTests.swift; sourceTree = "<group>"; };
|
||||
566A84422041AB2D00E50BFD /* MutablePersistableChangesTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableChangesTests.swift; sourceTree = "<group>"; };
|
||||
566A84422041AB2D00E50BFD /* MutablePersistableRecordChangesTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordChangesTests.swift; sourceTree = "<group>"; };
|
||||
566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDefinition.swift; sourceTree = "<group>"; };
|
||||
566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDefinitionTests.swift; sourceTree = "<group>"; };
|
||||
566B91081FA4C3960012D5B0 /* Database+Statements.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Database+Statements.swift"; sourceTree = "<group>"; };
|
||||
@@ -626,13 +626,13 @@
|
||||
56741EA71E66A8B3003E422D /* FetchRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchRequestTests.swift; sourceTree = "<group>"; };
|
||||
5674A6E21F307F0E0095F066 /* DatabaseValueConvertible+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6E31F307F0E0095F066 /* DatabaseValueConvertible+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "RowConvertible+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F31F307F600095F066 /* Persistable+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Persistable+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+Decodable.swift"; sourceTree = "<group>"; };
|
||||
5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PersistableRecord+Encodable.swift"; sourceTree = "<group>"; };
|
||||
5674A7021F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseValueConvertible+ReferenceConvertible.swift"; sourceTree = "<group>"; };
|
||||
5674A70A1F3087700095F066 /* DatabaseValueConvertibleDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertibleDecodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A70B1F3087700095F066 /* DatabaseValueConvertibleEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertibleEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MutablePersistableEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RowConvertibleDecodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordEncodableTests.swift; sourceTree = "<group>"; };
|
||||
5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchableRecordDecodableTests.swift; sourceTree = "<group>"; };
|
||||
567A80521D41350C00C7DCEC /* IndexInfoTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IndexInfoTests.swift; sourceTree = "<group>"; };
|
||||
567DAF141EAB61ED00FC0928 /* grdb_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = grdb_config.h; sourceTree = "<group>"; };
|
||||
567DAF341EAB789800FC0928 /* DatabaseLogErrorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseLogErrorTests.swift; sourceTree = "<group>"; };
|
||||
@@ -712,7 +712,7 @@
|
||||
56A8C22F1D1914540096E9D4 /* UUID.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UUID.swift; sourceTree = "<group>"; };
|
||||
56A8C2361D1914790096E9D4 /* FoundationNSUUIDTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FoundationNSUUIDTests.swift; sourceTree = "<group>"; };
|
||||
56AF746A1D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertibleEscapingTests.swift; sourceTree = "<group>"; };
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistablePersistenceConflictPolicyTests.swift; sourceTree = "<group>"; };
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordPersistenceConflictPolicyTests.swift; sourceTree = "<group>"; };
|
||||
56B14E7E1D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowFromDictionaryLiteralTests.swift; sourceTree = "<group>"; };
|
||||
56B15D0A1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchedRecordsControllerTests.swift; sourceTree = "<group>"; };
|
||||
56B7F4291BE14A1900E39BBF /* CGFloatTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGFloatTests.swift; sourceTree = "<group>"; };
|
||||
@@ -736,7 +736,7 @@
|
||||
56CC923A201E033400CB597E /* PrefixWhileCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrefixWhileCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CC9248201E058900CB597E /* DropFirstCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DropFirstCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CC9253201E094600CB597E /* PrefixCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrefixCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertible.swift; sourceTree = "<group>"; };
|
||||
56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchableRecord.swift; sourceTree = "<group>"; };
|
||||
56CEB4F81EAA2F4D00BFAF62 /* FTS3.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FTS3.swift; sourceTree = "<group>"; };
|
||||
56CEB4F91EAA2F4D00BFAF62 /* FTS4.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FTS4.swift; sourceTree = "<group>"; };
|
||||
56CEB5101EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FTS3+QueryInterfaceRequest.swift"; sourceTree = "<group>"; };
|
||||
@@ -748,7 +748,7 @@
|
||||
56CEB5441EAA359A00BFAF62 /* SQLSelectable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLSelectable.swift; sourceTree = "<group>"; };
|
||||
56D121591ED34978001347D2 /* Fixits-0.109.0.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Fixits-0.109.0.swift"; sourceTree = "<group>"; };
|
||||
56D5075D1F6BAE8600AE1C5B /* PrimaryKeyInfoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrimaryKeyInfoTests.swift; sourceTree = "<group>"; };
|
||||
56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "RowConvertible+TableMapping.swift"; sourceTree = "<group>"; };
|
||||
56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+TableRecord.swift"; sourceTree = "<group>"; };
|
||||
56DAA2D11DE99DAB006E10C8 /* DatabaseCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseCursorTests.swift; sourceTree = "<group>"; };
|
||||
56DAA2DA1DE9C827006E10C8 /* Cursor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Cursor.swift; sourceTree = "<group>"; };
|
||||
56DE7B101C3D93ED00861EB8 /* StatementArgumentsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StatementArgumentsTests.swift; sourceTree = "<group>"; };
|
||||
@@ -765,8 +765,8 @@
|
||||
56F3E7621E67F8C100BF0F01 /* Fixits-0.101.1.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Fixits-0.101.1.swift"; sourceTree = "<group>"; };
|
||||
56FC98771D969DEF00E3C842 /* SQLExpression+QueryInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "SQLExpression+QueryInterface.swift"; sourceTree = "<group>"; };
|
||||
56FDECE11BB32DFD009AD709 /* RowFromStatementTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowFromStatementTests.swift; sourceTree = "<group>"; };
|
||||
56FEE7FA1F47253700D930EA /* TableMappingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableMappingTests.swift; sourceTree = "<group>"; };
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableDeleteTests.swift; sourceTree = "<group>"; };
|
||||
56FEE7FA1F47253700D930EA /* TableRecordTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableRecordTests.swift; sourceTree = "<group>"; };
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableRecordDeleteTests.swift; sourceTree = "<group>"; };
|
||||
56FF45551D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordUniqueIndexTests.swift; sourceTree = "<group>"; };
|
||||
6340BF7F1E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordPersistenceConflictPolicy.swift; sourceTree = "<group>"; };
|
||||
DC2393C61ABE35F8003FF113 /* GRDB-Bridging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GRDB-Bridging.h"; sourceTree = "<group>"; };
|
||||
@@ -892,17 +892,17 @@
|
||||
name = DatabasePool;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
560B3FA41C19DFF800C58EC7 /* Persistable */ = {
|
||||
560B3FA41C19DFF800C58EC7 /* PersistableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
566A84422041AB2D00E50BFD /* MutablePersistableChangesTests.swift */,
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift */,
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift */,
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift */,
|
||||
563363A91C933FF8000BE133 /* MutablePersistableTests.swift */,
|
||||
563363AA1C933FF8000BE133 /* PersistableTests.swift */,
|
||||
566A84422041AB2D00E50BFD /* MutablePersistableRecordChangesTests.swift */,
|
||||
56FF453F1D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift */,
|
||||
5674A71C1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift */,
|
||||
56B021C81D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift */,
|
||||
563363A91C933FF8000BE133 /* MutablePersistableRecordTests.swift */,
|
||||
563363AA1C933FF8000BE133 /* PersistableRecordTests.swift */,
|
||||
);
|
||||
name = Persistable;
|
||||
name = PersistableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5614DEEE1BA9D6F9003163B3 /* Frameworks */ = {
|
||||
@@ -929,12 +929,12 @@
|
||||
path = GRDBTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56176C9C1EACEA8C000F3F2B /* TableMapping */ = {
|
||||
56176C9C1EACEA8C000F3F2B /* TableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56FEE7FA1F47253700D930EA /* TableMappingTests.swift */,
|
||||
56FEE7FA1F47253700D930EA /* TableRecordTests.swift */,
|
||||
);
|
||||
name = TableMapping;
|
||||
name = TableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56176C9E1EACEDF9000F3F2B /* Record */ = {
|
||||
@@ -987,13 +987,13 @@
|
||||
56300B5C1C53C38F005A543B /* QueryInterface */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56300B601C53C42C005A543B /* FetchableRecord+QueryInterfaceRequestTests.swift */,
|
||||
56300B671C53D25E005A543B /* QueryInterfaceExpressionsTests.swift */,
|
||||
5698AC021D9B9FCF0056AF8C /* QueryInterfaceExtensibilityTests.swift */,
|
||||
56300B5D1C53C38F005A543B /* QueryInterfaceRequestTests.swift */,
|
||||
56300B841C54DC95005A543B /* Record+QueryInterfaceRequestTests.swift */,
|
||||
56300B601C53C42C005A543B /* RowConvertible+QueryInterfaceRequestTests.swift */,
|
||||
566AD8C51D531BE4002EC1A8 /* TableDefinitionTests.swift */,
|
||||
56300B6A1C53D3E8005A543B /* TableMapping+QueryInterfaceRequestTests.swift */,
|
||||
56300B6A1C53D3E8005A543B /* TableRecord+QueryInterfaceRequestTests.swift */,
|
||||
5698AC7F1DA380A20056AF8C /* VirtualTableModuleTests.swift */,
|
||||
);
|
||||
name = QueryInterface;
|
||||
@@ -1056,13 +1056,13 @@
|
||||
path = Support;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5674A7251F30A8EF0095F066 /* RowConvertible */ = {
|
||||
5674A7251F30A8EF0095F066 /* FetchableRecord */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5674A7261F30A9090095F066 /* RowConvertibleDecodableTests.swift */,
|
||||
565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */,
|
||||
5674A7261F30A9090095F066 /* FetchableRecordDecodableTests.swift */,
|
||||
565B0FEE1BBC7D980098DE03 /* FetchableRecordTests.swift */,
|
||||
);
|
||||
name = RowConvertible;
|
||||
name = FetchableRecord;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5698AC291D9E5A480056AF8C /* FTS */ = {
|
||||
@@ -1202,13 +1202,13 @@
|
||||
56A238251B9C74A90082EB20 /* Record */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5674A7251F30A8EF0095F066 /* FetchableRecord */,
|
||||
56B15D0A1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift */,
|
||||
564E73E7203DA278000C443C /* JoinSupportTests.swift */,
|
||||
560B3FA41C19DFF800C58EC7 /* Persistable */,
|
||||
560B3FA41C19DFF800C58EC7 /* PersistableRecord */,
|
||||
56176C9E1EACEDF9000F3F2B /* Record */,
|
||||
568052182013295100E87861 /* RecordBoxTests.swift */,
|
||||
5674A7251F30A8EF0095F066 /* RowConvertible */,
|
||||
56176C9C1EACEA8C000F3F2B /* TableMapping */,
|
||||
56176C9C1EACEA8C000F3F2B /* TableRecord */,
|
||||
);
|
||||
name = Record;
|
||||
sourceTree = "<group>";
|
||||
@@ -1259,15 +1259,15 @@
|
||||
56A2389F1B9C753B0082EB20 /* Record */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56CEB4F01EAA2EFA00BFAF62 /* FetchableRecord.swift */,
|
||||
5674A6F21F307F600095F066 /* FetchableRecord+Decodable.swift */,
|
||||
56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */,
|
||||
31A7787C1C6A4DD600F507F6 /* FetchedRecordsController.swift */,
|
||||
560D92441C672C4B00F4F92B /* Persistable.swift */,
|
||||
5674A6F31F307F600095F066 /* Persistable+Encodable.swift */,
|
||||
560D92441C672C4B00F4F92B /* PersistableRecord.swift */,
|
||||
5674A6F31F307F600095F066 /* PersistableRecord+Encodable.swift */,
|
||||
56A238A11B9C753B0082EB20 /* Record.swift */,
|
||||
568052072013206F00E87861 /* RecordBox.swift */,
|
||||
56CEB4F01EAA2EFA00BFAF62 /* RowConvertible.swift */,
|
||||
5674A6F21F307F600095F066 /* RowConvertible+Decodable.swift */,
|
||||
56D51CFF1EA789FA0074638A /* RowConvertible+TableMapping.swift */,
|
||||
560D92461C672C4B00F4F92B /* TableMapping.swift */,
|
||||
560D92461C672C4B00F4F92B /* TableRecord.swift */,
|
||||
);
|
||||
path = Record;
|
||||
sourceTree = "<group>";
|
||||
@@ -1697,7 +1697,7 @@
|
||||
56CEB5161EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift in Sources */,
|
||||
5659F4951EA8D964004A4992 /* ReadWriteBox.swift in Sources */,
|
||||
566A842E20413D9A00E50BFD /* DatabaseSnapshot.swift in Sources */,
|
||||
56CEB4F61EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */,
|
||||
56CEB4F61EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */,
|
||||
56BB6EAE1D3009B100A1CA52 /* SchedulingWatchdog.swift in Sources */,
|
||||
F3BA801A1CFB2876003DC1BA /* StatementColumnConvertible.swift in Sources */,
|
||||
566B91381FA4D3810012D5B0 /* TransactionObserver.swift in Sources */,
|
||||
@@ -1719,7 +1719,7 @@
|
||||
564F9C331F07611800877A00 /* DatabaseFunction.swift in Sources */,
|
||||
5659F49D1EA8D989004A4992 /* Pool.swift in Sources */,
|
||||
569B7FA5201C90430069DE70 /* Swift4.1.swift in Sources */,
|
||||
5674A6F61F307F600095F066 /* Persistable+Encodable.swift in Sources */,
|
||||
5674A6F61F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */,
|
||||
56CEB5511EAA359A00BFAF62 /* SQLExpressible.swift in Sources */,
|
||||
5698AC3C1D9E5A590056AF8C /* FTS3Pattern.swift in Sources */,
|
||||
566475D11D981D5E00FF74B8 /* SQLFunctions.swift in Sources */,
|
||||
@@ -1737,7 +1737,7 @@
|
||||
F3BA80201CFB288C003DC1BA /* Date.swift in Sources */,
|
||||
56A8C2351D1914540096E9D4 /* UUID.swift in Sources */,
|
||||
56BF6D341DEF47DA006039A3 /* Fixits-0-84-0.swift in Sources */,
|
||||
56D51D051EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */,
|
||||
56D51D051EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */,
|
||||
F3BA80151CFB2876003DC1BA /* DatabaseWriter.swift in Sources */,
|
||||
F3BA800A1CFB286A003DC1BA /* Configuration.swift in Sources */,
|
||||
566475BF1D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift in Sources */,
|
||||
@@ -1758,12 +1758,12 @@
|
||||
56FC987D1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */,
|
||||
F3BA80111CFB2876003DC1BA /* DatabaseSchemaCache.swift in Sources */,
|
||||
F3BA80281CFB2891003DC1BA /* StandardLibrary.swift in Sources */,
|
||||
F3BA80331CFB28A4003DC1BA /* Persistable.swift in Sources */,
|
||||
F3BA80331CFB28A4003DC1BA /* PersistableRecord.swift in Sources */,
|
||||
56BF6D3B1DEF47DA006039A3 /* Fixits-0-90-1.swift in Sources */,
|
||||
56B964BE1DA51D0A0002DA19 /* FTS5Pattern.swift in Sources */,
|
||||
F3BA80211CFB288C003DC1BA /* NSNull.swift in Sources */,
|
||||
56CEB51E1EAA328900BFAF62 /* FTS5+QueryInterface.swift in Sources */,
|
||||
5674A6FD1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */,
|
||||
5674A6FD1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */,
|
||||
F3BA80141CFB2876003DC1BA /* DatabaseValueConvertible.swift in Sources */,
|
||||
5698AC7D1DA37DCB0056AF8C /* VirtualTableModule.swift in Sources */,
|
||||
566AD8B71D5318F4002EC1A8 /* TableDefinition.swift in Sources */,
|
||||
@@ -1771,7 +1771,7 @@
|
||||
F3BA802C1CFB289B003DC1BA /* SQLCollatedExpression.swift in Sources */,
|
||||
569A98F92039B716008D7DBF /* Fixits-3.0.swift in Sources */,
|
||||
F3BA80301CFB289F003DC1BA /* DatabaseMigrator.swift in Sources */,
|
||||
F3BA80361CFB28A4003DC1BA /* TableMapping.swift in Sources */,
|
||||
F3BA80361CFB28A4003DC1BA /* TableRecord.swift in Sources */,
|
||||
F3BA80271CFB2891003DC1BA /* DatabaseValueConvertible+RawRepresentable.swift in Sources */,
|
||||
5680520E201320A200E87861 /* RecordBox.swift in Sources */,
|
||||
566475A71D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift in Sources */,
|
||||
@@ -1790,7 +1790,7 @@
|
||||
files = (
|
||||
F3BA80D71CFB300A003DC1BA /* DatabaseValueTests.swift in Sources */,
|
||||
F3BA80C81CFB2FD8003DC1BA /* DatabaseQueueTests.swift in Sources */,
|
||||
56FF45471D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */,
|
||||
56FF45471D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */,
|
||||
F3BA810C1CFB3056003DC1BA /* StatementArguments+FoundationTests.swift in Sources */,
|
||||
F3BA80B91CFB2FD1003DC1BA /* DatabasePoolBackupTests.swift in Sources */,
|
||||
F3BA811E1CFB3063003DC1BA /* RecordMinimalPrimaryKeyRowIDTests.swift in Sources */,
|
||||
@@ -1802,9 +1802,9 @@
|
||||
5680521B2013295700E87861 /* RecordBoxTests.swift in Sources */,
|
||||
562EA82D1F17B2AC00FA528C /* CompilationProtocolTests.swift in Sources */,
|
||||
F3BA80C61CFB2FD8003DC1BA /* DatabaseQueueConcurrencyTests.swift in Sources */,
|
||||
F3BA81161CFB305E003DC1BA /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA81161CFB305E003DC1BA /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA80F41CFB301D003DC1BA /* StatementColumnConvertibleFetchTests.swift in Sources */,
|
||||
F3BA81181CFB305E003DC1BA /* TableMapping+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA81181CFB305E003DC1BA /* TableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA810A1CFB3056003DC1BA /* FoundationNSDateTests.swift in Sources */,
|
||||
5657AB4D1D108BA9006283EF /* FoundationNSNullTests.swift in Sources */,
|
||||
5627564A1E963AAC0035B653 /* DatabaseWriterTests.swift in Sources */,
|
||||
@@ -1818,18 +1818,18 @@
|
||||
F3BA80E91CFB3016003DC1BA /* RowAdapterTests.swift in Sources */,
|
||||
562393371DEDFC5700A6B01F /* AnyCursorTests.swift in Sources */,
|
||||
5674A7161F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */,
|
||||
56B021D01D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */,
|
||||
56B021D01D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */,
|
||||
5623935E1DEE013C00A6B01F /* FilterCursorTests.swift in Sources */,
|
||||
56B14E861D4DAE54000BF4A3 /* RowFromDictionaryLiteralTests.swift in Sources */,
|
||||
566AD8CD1D531BEE002EC1A8 /* TableDefinitionTests.swift in Sources */,
|
||||
5698AC871DA380A20056AF8C /* VirtualTableModuleTests.swift in Sources */,
|
||||
F3BA80D11CFB2FF3003DC1BA /* MutablePersistableTests.swift in Sources */,
|
||||
F3BA80D11CFB2FF3003DC1BA /* MutablePersistableRecordTests.swift in Sources */,
|
||||
F3BA80CF1CFB2FEA003DC1BA /* SchedulingWatchdogTests.swift in Sources */,
|
||||
F3BA80E71CFB3016003DC1BA /* RowCopiedFromStatementTests.swift in Sources */,
|
||||
F3BA812A1CFB3063003DC1BA /* RecordSubClassTests.swift in Sources */,
|
||||
6340BF871E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift in Sources */,
|
||||
56AF74721D41FB9C005E9FF3 /* DatabaseValueConvertibleEscapingTests.swift in Sources */,
|
||||
F3BA80D21CFB2FF3003DC1BA /* PersistableTests.swift in Sources */,
|
||||
F3BA80D21CFB2FF3003DC1BA /* PersistableRecordTests.swift in Sources */,
|
||||
5698AC501DA2D48A0056AF8C /* FTS3RecordTests.swift in Sources */,
|
||||
F3BA80FD1CFB3024003DC1BA /* TransactionObserverSavepointsTests.swift in Sources */,
|
||||
F3BA811F1CFB3063003DC1BA /* RecordMinimalPrimaryKeySingleTests.swift in Sources */,
|
||||
@@ -1849,7 +1849,7 @@
|
||||
562393701DEE0CD200A6B01F /* FlattenCursorTests.swift in Sources */,
|
||||
F3BA81121CFB3059003DC1BA /* DatabaseMigratorTests.swift in Sources */,
|
||||
56176C801EACCD31000F3F2B /* EncryptionTests.swift in Sources */,
|
||||
F3BA80EB1CFB3016003DC1BA /* RowConvertibleTests.swift in Sources */,
|
||||
F3BA80EB1CFB3016003DC1BA /* FetchableRecordTests.swift in Sources */,
|
||||
F3BA81151CFB305E003DC1BA /* Record+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA80DC1CFB300E003DC1BA /* DatabaseValueConvertibleFetchTests.swift in Sources */,
|
||||
5698AD021DAA8ACB0056AF8C /* FTS5CustomTokenizerTests.swift in Sources */,
|
||||
@@ -1867,8 +1867,8 @@
|
||||
5698ACCC1DA62A2D0056AF8C /* FTS5TokenizerTests.swift in Sources */,
|
||||
5690C33E1D23E7D200E59934 /* FoundationDateTests.swift in Sources */,
|
||||
567A805A1D41350C00C7DCEC /* IndexInfoTests.swift in Sources */,
|
||||
5674A7291F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */,
|
||||
56FEE8021F47253700D930EA /* TableMappingTests.swift in Sources */,
|
||||
5674A7291F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */,
|
||||
56FEE8021F47253700D930EA /* TableRecordTests.swift in Sources */,
|
||||
F3BA81211CFB3063003DC1BA /* RecordPrimaryKeyNoneTests.swift in Sources */,
|
||||
F3BA80F71CFB3021003DC1BA /* SelectStatementTests.swift in Sources */,
|
||||
56F3E7501E66F83A00BF0F01 /* ResultCodeTests.swift in Sources */,
|
||||
@@ -1903,7 +1903,7 @@
|
||||
F3BA81231CFB3063003DC1BA /* RecordPrimaryKeySingleTests.swift in Sources */,
|
||||
F3BA80541CFB2B59003DC1BA /* DatabaseRegionTests.swift in Sources */,
|
||||
567DAF3C1EAB789800FC0928 /* DatabaseLogErrorTests.swift in Sources */,
|
||||
566A84442041AB2D00E50BFD /* MutablePersistableChangesTests.swift in Sources */,
|
||||
566A84442041AB2D00E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */,
|
||||
F3BA81171CFB305E003DC1BA /* QueryInterfaceExpressionsTests.swift in Sources */,
|
||||
F3BA810B1CFB3056003DC1BA /* Row+FoundationTests.swift in Sources */,
|
||||
5698AC901DA389380056AF8C /* FTS3TableBuilderTests.swift in Sources */,
|
||||
@@ -1912,7 +1912,7 @@
|
||||
56741EAF1E66A8B3003E422D /* FetchRequestTests.swift in Sources */,
|
||||
5657AB5D1D108BA9006283EF /* FoundationNSStringTests.swift in Sources */,
|
||||
F3BA81241CFB3063003DC1BA /* RecordPrimaryKeySingleWithReplaceConflictResolutionTests.swift in Sources */,
|
||||
5674A71F1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */,
|
||||
5674A71F1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */,
|
||||
F3BA80E81CFB3016003DC1BA /* RowFromDictionaryTests.swift in Sources */,
|
||||
562393671DEE06D300A6B01F /* CursorTests.swift in Sources */,
|
||||
F3BA80B41CFB2FC9003DC1BA /* DatabaseQueueReadOnlyTests.swift in Sources */,
|
||||
@@ -1944,7 +1944,7 @@
|
||||
56CEB5131EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift in Sources */,
|
||||
5659F4921EA8D964004A4992 /* ReadWriteBox.swift in Sources */,
|
||||
566A842D20413D9A00E50BFD /* DatabaseSnapshot.swift in Sources */,
|
||||
56CEB4F31EAA2EFA00BFAF62 /* RowConvertible.swift in Sources */,
|
||||
56CEB4F31EAA2EFA00BFAF62 /* FetchableRecord.swift in Sources */,
|
||||
56BB6EAB1D3009B100A1CA52 /* SchedulingWatchdog.swift in Sources */,
|
||||
F3BA80761CFB2E55003DC1BA /* StatementColumnConvertible.swift in Sources */,
|
||||
566B91351FA4D3810012D5B0 /* TransactionObserver.swift in Sources */,
|
||||
@@ -1966,7 +1966,7 @@
|
||||
564F9C301F07611500877A00 /* DatabaseFunction.swift in Sources */,
|
||||
5659F49A1EA8D989004A4992 /* Pool.swift in Sources */,
|
||||
569B7FA4201C90430069DE70 /* Swift4.1.swift in Sources */,
|
||||
5674A6F51F307F600095F066 /* Persistable+Encodable.swift in Sources */,
|
||||
5674A6F51F307F600095F066 /* PersistableRecord+Encodable.swift in Sources */,
|
||||
56CEB54E1EAA359A00BFAF62 /* SQLExpressible.swift in Sources */,
|
||||
5698AC391D9E5A590056AF8C /* FTS3Pattern.swift in Sources */,
|
||||
566475CE1D981D5E00FF74B8 /* SQLFunctions.swift in Sources */,
|
||||
@@ -1984,7 +1984,7 @@
|
||||
F3BA807C1CFB2E61003DC1BA /* Date.swift in Sources */,
|
||||
56A8C2321D1914540096E9D4 /* UUID.swift in Sources */,
|
||||
56BF6D311DEF47DA006039A3 /* Fixits-0-84-0.swift in Sources */,
|
||||
56D51D021EA789FA0074638A /* RowConvertible+TableMapping.swift in Sources */,
|
||||
56D51D021EA789FA0074638A /* FetchableRecord+TableRecord.swift in Sources */,
|
||||
F3BA80711CFB2E55003DC1BA /* DatabaseWriter.swift in Sources */,
|
||||
F3BA80661CFB2E55003DC1BA /* Configuration.swift in Sources */,
|
||||
566475BC1D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift in Sources */,
|
||||
@@ -2005,12 +2005,12 @@
|
||||
56FC987A1D969DEF00E3C842 /* SQLExpression+QueryInterface.swift in Sources */,
|
||||
F3BA806D1CFB2E55003DC1BA /* DatabaseSchemaCache.swift in Sources */,
|
||||
F3BA80841CFB2E67003DC1BA /* StandardLibrary.swift in Sources */,
|
||||
F3BA808F1CFB2E7A003DC1BA /* Persistable.swift in Sources */,
|
||||
F3BA808F1CFB2E7A003DC1BA /* PersistableRecord.swift in Sources */,
|
||||
56BF6D381DEF47DA006039A3 /* Fixits-0-90-1.swift in Sources */,
|
||||
56B964BB1DA51D0A0002DA19 /* FTS5Pattern.swift in Sources */,
|
||||
F3BA807D1CFB2E61003DC1BA /* NSNull.swift in Sources */,
|
||||
56CEB51B1EAA328900BFAF62 /* FTS5+QueryInterface.swift in Sources */,
|
||||
5674A6FC1F307F600095F066 /* RowConvertible+Decodable.swift in Sources */,
|
||||
5674A6FC1F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */,
|
||||
F3BA80701CFB2E55003DC1BA /* DatabaseValueConvertible.swift in Sources */,
|
||||
5698AC7A1DA37DCB0056AF8C /* VirtualTableModule.swift in Sources */,
|
||||
566AD8B41D5318F4002EC1A8 /* TableDefinition.swift in Sources */,
|
||||
@@ -2018,7 +2018,7 @@
|
||||
F3BA80881CFB2E70003DC1BA /* SQLCollatedExpression.swift in Sources */,
|
||||
569A98F82039B716008D7DBF /* Fixits-3.0.swift in Sources */,
|
||||
F3BA808C1CFB2E75003DC1BA /* DatabaseMigrator.swift in Sources */,
|
||||
F3BA80921CFB2E7A003DC1BA /* TableMapping.swift in Sources */,
|
||||
F3BA80921CFB2E7A003DC1BA /* TableRecord.swift in Sources */,
|
||||
F3BA80831CFB2E67003DC1BA /* DatabaseValueConvertible+RawRepresentable.swift in Sources */,
|
||||
568052092013207000E87861 /* RecordBox.swift in Sources */,
|
||||
566475A41D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift in Sources */,
|
||||
@@ -2050,7 +2050,7 @@
|
||||
5680521A2013295600E87861 /* RecordBoxTests.swift in Sources */,
|
||||
562EA8291F17B2AC00FA528C /* CompilationProtocolTests.swift in Sources */,
|
||||
56FF45591D2CDA5200F21EF9 /* RecordUniqueIndexTests.swift in Sources */,
|
||||
56B021CC1D8C0D3900B239BB /* MutablePersistablePersistenceConflictPolicyTests.swift in Sources */,
|
||||
56B021CC1D8C0D3900B239BB /* MutablePersistableRecordPersistenceConflictPolicyTests.swift in Sources */,
|
||||
561667041D08A49900ADD404 /* FoundationNSDecimalNumberTests.swift in Sources */,
|
||||
F3BA80E31CFB300F003DC1BA /* DatabaseValueConvertibleSubclassTests.swift in Sources */,
|
||||
566AD8C91D531BEB002EC1A8 /* TableDefinitionTests.swift in Sources */,
|
||||
@@ -2062,7 +2062,7 @@
|
||||
F3BA80F61CFB301E003DC1BA /* StatementColumnConvertibleFetchTests.swift in Sources */,
|
||||
F3BA80E61CFB3012003DC1BA /* DatabaseFunctionTests.swift in Sources */,
|
||||
5698ACDA1DA925430056AF8C /* RowTestCase.swift in Sources */,
|
||||
F3BA811D1CFB305F003DC1BA /* TableMapping+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA811D1CFB305F003DC1BA /* TableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA80AD1CFB2FA6003DC1BA /* DataMemoryTests.swift in Sources */,
|
||||
5698ACB91DA6285E0056AF8C /* FTS3TokenizerTests.swift in Sources */,
|
||||
5674A7141F3087710095F066 /* DatabaseValueConvertibleDecodableTests.swift in Sources */,
|
||||
@@ -2071,11 +2071,11 @@
|
||||
56DAA2D51DE99DAB006E10C8 /* DatabaseCursorTests.swift in Sources */,
|
||||
F3BA80FB1CFB3021003DC1BA /* StatementArgumentsTests.swift in Sources */,
|
||||
F3BA80EE1CFB3017003DC1BA /* RowAdapterTests.swift in Sources */,
|
||||
F3BA80D31CFB2FF4003DC1BA /* MutablePersistableTests.swift in Sources */,
|
||||
F3BA80D31CFB2FF4003DC1BA /* MutablePersistableRecordTests.swift in Sources */,
|
||||
562393751DEE104400A6B01F /* MapCursorTests.swift in Sources */,
|
||||
F3BA80D01CFB2FEC003DC1BA /* SchedulingWatchdogTests.swift in Sources */,
|
||||
F3BA80EC1CFB3017003DC1BA /* RowCopiedFromStatementTests.swift in Sources */,
|
||||
F3BA80D41CFB2FF4003DC1BA /* PersistableTests.swift in Sources */,
|
||||
F3BA80D41CFB2FF4003DC1BA /* PersistableRecordTests.swift in Sources */,
|
||||
6340BF831E5E3F7900832805 /* RecordPersistenceConflictPolicy.swift in Sources */,
|
||||
F3BA80FF1CFB3025003DC1BA /* TransactionObserverSavepointsTests.swift in Sources */,
|
||||
5698AC4C1DA2D48A0056AF8C /* FTS3RecordTests.swift in Sources */,
|
||||
@@ -2106,16 +2106,16 @@
|
||||
5698AC8C1DA389380056AF8C /* FTS3TableBuilderTests.swift in Sources */,
|
||||
5665F868203EF4640084C6C0 /* ColumnInfoTests.swift in Sources */,
|
||||
F3BA81391CFB3064003DC1BA /* RecordWithColumnNameManglingTests.swift in Sources */,
|
||||
56FF45431D2C23BA00F21EF9 /* MutablePersistableDeleteTests.swift in Sources */,
|
||||
F3BA80F01CFB3017003DC1BA /* RowConvertibleTests.swift in Sources */,
|
||||
56FF45431D2C23BA00F21EF9 /* MutablePersistableRecordDeleteTests.swift in Sources */,
|
||||
F3BA80F01CFB3017003DC1BA /* FetchableRecordTests.swift in Sources */,
|
||||
5657AB491D108BA9006283EF /* FoundationNSNullTests.swift in Sources */,
|
||||
F3BA80E21CFB300F003DC1BA /* DatabaseValueConvertibleFetchTests.swift in Sources */,
|
||||
F3BA80F21CFB301A003DC1BA /* DatabaseSavepointTests.swift in Sources */,
|
||||
F3BA80B81CFB2FCD003DC1BA /* DatabaseErrorTests.swift in Sources */,
|
||||
5698AC061D9B9FCF0056AF8C /* QueryInterfaceExtensibilityTests.swift in Sources */,
|
||||
F3BA80FA1CFB3021003DC1BA /* SelectStatementTests.swift in Sources */,
|
||||
5674A7271F30A9090095F066 /* RowConvertibleDecodableTests.swift in Sources */,
|
||||
56FEE7FE1F47253700D930EA /* TableMappingTests.swift in Sources */,
|
||||
5674A7271F30A9090095F066 /* FetchableRecordDecodableTests.swift in Sources */,
|
||||
56FEE7FE1F47253700D930EA /* TableRecordTests.swift in Sources */,
|
||||
F3BA81191CFB305F003DC1BA /* QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA812F1CFB3064003DC1BA /* RecordPrimaryKeyNoneTests.swift in Sources */,
|
||||
5690C33A1D23E7D200E59934 /* FoundationDateTests.swift in Sources */,
|
||||
@@ -2150,7 +2150,7 @@
|
||||
565EFAF11D0436CE00A8FA9D /* NumericOverflowTests.swift in Sources */,
|
||||
F3BA812E1CFB3064003DC1BA /* RecordPrimaryKeyMultipleTests.swift in Sources */,
|
||||
F3BA81021CFB3032003DC1BA /* CGFloatTests.swift in Sources */,
|
||||
566A84432041AB2D00E50BFD /* MutablePersistableChangesTests.swift in Sources */,
|
||||
566A84432041AB2D00E50BFD /* MutablePersistableRecordChangesTests.swift in Sources */,
|
||||
567DAF381EAB789800FC0928 /* DatabaseLogErrorTests.swift in Sources */,
|
||||
F3BA81131CFB305B003DC1BA /* DatabaseMigratorTests.swift in Sources */,
|
||||
F3BA81381CFB3064003DC1BA /* RecordSubClassTests.swift in Sources */,
|
||||
@@ -2159,11 +2159,11 @@
|
||||
5657AB691D108BA9006283EF /* FoundationURLTests.swift in Sources */,
|
||||
56741EAB1E66A8B3003E422D /* FetchRequestTests.swift in Sources */,
|
||||
56B964D61DA521450002DA19 /* FTS5TableBuilderTests.swift in Sources */,
|
||||
5674A71D1F30A8DF0095F066 /* MutablePersistableEncodableTests.swift in Sources */,
|
||||
5674A71D1F30A8DF0095F066 /* MutablePersistableRecordEncodableTests.swift in Sources */,
|
||||
562393511DEDFEFB00A6B01F /* EnumeratedCursorTests.swift in Sources */,
|
||||
F3BA812D1CFB3064003DC1BA /* RecordMinimalPrimaryKeySingleTests.swift in Sources */,
|
||||
5698AC831DA380A20056AF8C /* VirtualTableModuleTests.swift in Sources */,
|
||||
F3BA811B1CFB305F003DC1BA /* RowConvertible+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA811B1CFB305F003DC1BA /* FetchableRecord+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA811A1CFB305F003DC1BA /* Record+QueryInterfaceRequestTests.swift in Sources */,
|
||||
F3BA81111CFB3057003DC1BA /* StatementArguments+FoundationTests.swift in Sources */,
|
||||
F3BA81371CFB3064003DC1BA /* RecordInitializersTests.swift in Sources */,
|
||||
@@ -2299,7 +2299,6 @@
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
SWIFT_VERSION = 4.0;
|
||||
VALIDATE_PRODUCT = YES;
|
||||
@@ -2356,7 +2355,6 @@
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
SDKROOT = iphoneos;
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
@@ -2394,7 +2392,6 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.github.groue.GRDBCustomSQLite.GRDBCustomSQLiteiOSTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
};
|
||||
name = Release;
|
||||
@@ -2443,7 +2440,6 @@
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
};
|
||||
name = Release;
|
||||
@@ -2482,7 +2478,6 @@
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.github.groue.GRDBCustomSQLiteOSXTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = macosx;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
};
|
||||
name = Release;
|
||||
|
||||
@@ -76,7 +76,7 @@ class TestDeleteAll: NSObject {
|
||||
|
||||
}
|
||||
|
||||
struct MyRecord: RowConvertible, TableMapping, Persistable {
|
||||
struct MyRecord: FetchableRecord, TableRecord, PersistableRecord {
|
||||
|
||||
static let MyColumn = Column("MyColumn")
|
||||
static var databaseTableName: String { return String(describing: self) }
|
||||
|
||||
@@ -64,8 +64,8 @@ struct PointOfInterest {
|
||||
var coordinate: CLLocationCoordinate2D
|
||||
}
|
||||
|
||||
// Adopt RowConvertible
|
||||
extension PointOfInterest : RowConvertible {
|
||||
// Adopt FetchableRecord
|
||||
extension PointOfInterest : FetchableRecord {
|
||||
init(row: Row) {
|
||||
id = row["id"]
|
||||
title = row["title"]
|
||||
@@ -76,13 +76,13 @@ extension PointOfInterest : RowConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
// Adopt TableMapping
|
||||
extension PointOfInterest : TableMapping {
|
||||
// Adopt TableRecord
|
||||
extension PointOfInterest : TableRecord {
|
||||
static let databaseTableName = "pointOfInterests"
|
||||
}
|
||||
|
||||
// Adopt MutablePersistable
|
||||
extension PointOfInterest : MutablePersistable {
|
||||
// Adopt MutablePersistableRecord
|
||||
extension PointOfInterest : MutablePersistableRecord {
|
||||
func encode(to container: inout PersistenceContainer) {
|
||||
container["id"] = id
|
||||
container["title"] = title
|
||||
|
||||
@@ -1857,9 +1857,9 @@ Your custom structs and classes can adopt each protocol individually, and opt in
|
||||
**Protocols and the Record class**
|
||||
|
||||
- [Record Protocols Overview](#record-protocols-overview)
|
||||
- [RowConvertible Protocol](#rowconvertible-protocol)
|
||||
- [TableMapping Protocol](#tablemapping-protocol)
|
||||
- [Persistable Protocol](#persistable-protocol)
|
||||
- [FetchableRecord Protocol](#fetchablerecord-protocol)
|
||||
- [TableRecord Protocol](#tablerecord-protocol)
|
||||
- [PersistableRecord Protocol](#persistablerecord-protocol)
|
||||
- [Persistence Methods](#persistence-methods)
|
||||
- [Customizing the Persistence Methods](#customizing-the-persistence-methods)
|
||||
- [Codable Records](#codable-records)
|
||||
@@ -1872,7 +1872,7 @@ Your custom structs and classes can adopt each protocol individually, and opt in
|
||||
|
||||
### Inserting Records
|
||||
|
||||
To insert a record in the database, subclass the [Record](#record-class) class or adopt the [Persistable](#persistable-protocol) protocol, and call the `insert` method:
|
||||
To insert a record in the database, subclass the [Record](#record-class) class or adopt the [PersistableRecord] protocol, and call the `insert` method:
|
||||
|
||||
```swift
|
||||
class Player : Record { ... }
|
||||
@@ -1884,14 +1884,14 @@ try player.insert(db)
|
||||
|
||||
### Fetching Records
|
||||
|
||||
[Record](#record-class) subclasses and types that adopt the [RowConvertible](#rowconvertible-protocol) protocol can be fetched from the database:
|
||||
[Record](#record-class) subclasses and types that adopt the [FetchableRecord] protocol can be fetched from the database:
|
||||
|
||||
```swift
|
||||
class Player : Record { ... }
|
||||
let players = try Player.fetchAll(db, "SELECT ...", arguments: ...) // [Player]
|
||||
```
|
||||
|
||||
Add the [TableMapping](#tablemapping-protocol) protocol and you can stop writing SQL:
|
||||
Add the [TableRecord] protocol and you can stop writing SQL:
|
||||
|
||||
```swift
|
||||
let spain = try Country.fetchOne(db, key: "ES") // Country?
|
||||
@@ -1906,7 +1906,7 @@ See [fetching methods](#fetching-methods), and the [query interface](#the-query-
|
||||
|
||||
### Updating Records
|
||||
|
||||
[Record](#record-class) subclasses and types that adopt the [Persistable](#persistable-protocol) protocol can be updated in the database:
|
||||
[Record](#record-class) subclasses and types that adopt the [PersistableRecord] protocol can be updated in the database:
|
||||
|
||||
```swift
|
||||
let player = try Player.fetchOne(db, key: 1)!
|
||||
@@ -1933,7 +1933,7 @@ try db.execute("UPDATE players SET synchronized = 1")
|
||||
|
||||
### Deleting Records
|
||||
|
||||
[Record](#record-class) subclasses and types that adopt the [Persistable](#persistable-protocol) protocol can be deleted from the database:
|
||||
[Record](#record-class) subclasses and types that adopt the [PersistableRecord] protocol can be deleted from the database:
|
||||
|
||||
```swift
|
||||
let player = try Player.fetchOne(db, key: 1)!
|
||||
@@ -1957,7 +1957,7 @@ try Player.filter(emailColumn == nil).deleteAll(db)
|
||||
|
||||
### Counting Records
|
||||
|
||||
[Record](#record-class) subclasses and types that adopt the [TableMapping](#tablemapping-protocol) protocol can be counted:
|
||||
[Record](#record-class) subclasses and types that adopt the [TableRecord] protocol can be counted:
|
||||
|
||||
```swift
|
||||
let playerWithEmailCount = try Player.filter(emailColumn != nil).fetchCount(db) // Int
|
||||
@@ -1967,9 +1967,9 @@ let playerWithEmailCount = try Player.filter(emailColumn != nil).fetchCount(db)
|
||||
Details follow:
|
||||
|
||||
- [Record Protocols Overview](#record-protocols-overview)
|
||||
- [RowConvertible Protocol](#rowconvertible-protocol)
|
||||
- [TableMapping Protocol](#tablemapping-protocol)
|
||||
- [Persistable Protocol](#persistable-protocol)
|
||||
- [FetchableRecord Protocol](#fetchablerecord-protocol)
|
||||
- [TableRecord Protocol](#tablerecord-protocol)
|
||||
- [PersistableRecord Protocol](#persistablerecord-protocol)
|
||||
- [Codable Records](#codable-records)
|
||||
- [Record Class](#record-class)
|
||||
- [Changes Tracking](#changes-tracking)
|
||||
@@ -1982,7 +1982,7 @@ Details follow:
|
||||
|
||||
**GRDB ships with three record protocols**. Your own types will adopt one or several of them, according to the abilities you want to extend your types with.
|
||||
|
||||
- [RowConvertible](#rowconvertible-protocol) is able to **read**: it grants the ability to efficiently decode raw database row.
|
||||
- [FetchableRecord] is able to **read**: it grants the ability to efficiently decode raw database row.
|
||||
|
||||
Imagine you want to load places from the `places` database table.
|
||||
|
||||
@@ -2040,10 +2040,10 @@ Details follow:
|
||||
}
|
||||
```
|
||||
|
||||
That's better. And that's what RowConvertible does, with a little performance bonus, and in a single line:
|
||||
That's better. And that's what FetchableRecord does, with a little performance bonus, and in a single line:
|
||||
|
||||
```swift
|
||||
struct Place : RowConvertible {
|
||||
struct Place : FetchableRecord {
|
||||
init(row: Row) { ... }
|
||||
}
|
||||
func fetchPlaces(_ db: Database) throws -> [Place] {
|
||||
@@ -2051,30 +2051,30 @@ Details follow:
|
||||
}
|
||||
```
|
||||
|
||||
RowConvertible is not able to build SQL requests, though. For that, you also need TableMapping:
|
||||
FetchableRecord is not able to build SQL requests, though. For that, you also need TableRecord:
|
||||
|
||||
- [TableMapping](#tablemapping-protocol) is able to **build requests without SQL**:
|
||||
- [TableRecord] is able to **build requests without SQL**:
|
||||
|
||||
```swift
|
||||
struct Place : TableMapping { ... }
|
||||
struct Place : TableRecord { ... }
|
||||
// SELECT * FROM places ORDER BY title
|
||||
let request = Place.order(Column("title"))
|
||||
```
|
||||
|
||||
When a type adopts both TableMapping and RowConvertible, it can load from those requests:
|
||||
When a type adopts both TableRecord and FetchableRecord, it can load from those requests:
|
||||
|
||||
```swift
|
||||
struct Place : TableMapping, RowConvertible { ... }
|
||||
struct Place : TableRecord, FetchableRecord { ... }
|
||||
try dbQueue.inDatabase { db in
|
||||
let places = try Place.order(Column("title")).fetchAll(db)
|
||||
let paris = try Place.fetchOne(key: 1)
|
||||
}
|
||||
```
|
||||
|
||||
- [Persistable](#persistable-protocol) is able to **write**: it can create, update, and delete rows in the database:
|
||||
- [PersistableRecord] is able to **write**: it can create, update, and delete rows in the database:
|
||||
|
||||
```swift
|
||||
struct Place : Persistable { ... }
|
||||
struct Place : PersistableRecord { ... }
|
||||
try dbQueue.inDatabase { db in
|
||||
try Place.delete(db, key: 1)
|
||||
try Place(...).insert(db)
|
||||
@@ -2082,18 +2082,18 @@ Details follow:
|
||||
```
|
||||
|
||||
|
||||
## RowConvertible Protocol
|
||||
## FetchableRecord Protocol
|
||||
|
||||
**The RowConvertible protocol grants fetching methods to any type** that can be built from a database row:
|
||||
**The FetchableRecord protocol grants fetching methods to any type** that can be built from a database row:
|
||||
|
||||
```swift
|
||||
protocol RowConvertible {
|
||||
protocol FetchableRecord {
|
||||
/// Row initializer
|
||||
init(row: Row)
|
||||
}
|
||||
```
|
||||
|
||||
**To use RowConvertible**, subclass the [Record](#record-class) class, or adopt it explicitely. For example:
|
||||
**To use FetchableRecord**, subclass the [Record](#record-class) class, or adopt it explicitely. For example:
|
||||
|
||||
```swift
|
||||
struct Place {
|
||||
@@ -2102,7 +2102,7 @@ struct Place {
|
||||
var coordinate: CLLocationCoordinate2D
|
||||
}
|
||||
|
||||
extension Place : RowConvertible {
|
||||
extension Place : FetchableRecord {
|
||||
init(row: Row) {
|
||||
id = row["id"]
|
||||
title = row["title"]
|
||||
@@ -2116,7 +2116,7 @@ extension Place : RowConvertible {
|
||||
Rows also accept keys of type `Column`:
|
||||
|
||||
```swift
|
||||
extension Place : RowConvertible {
|
||||
extension Place : FetchableRecord {
|
||||
enum Columns {
|
||||
static let id = Column("id")
|
||||
static let title = Column("title")
|
||||
@@ -2140,7 +2140,7 @@ See [column values](#column-values) for more information about the `row[]` subsc
|
||||
>
|
||||
> :bulb: **Tip**: the `init(row:)` initializer can be automatically generated when your type adopts the standard `Decodable` protocol. See [Codable Records](#codable-records) for more information.
|
||||
|
||||
RowConvertible allows adopting types to be fetched from SQL queries:
|
||||
FetchableRecord allows adopting types to be fetched from SQL queries:
|
||||
|
||||
```swift
|
||||
try Place.fetchCursor(db, "SELECT ...", arguments:...) // A Cursor of Place
|
||||
@@ -2151,12 +2151,12 @@ try Place.fetchOne(db, "SELECT ...", arguments:...) // Place?
|
||||
See [fetching methods](#fetching-methods) for information about the `fetchCursor`, `fetchAll` and `fetchOne` methods. See [StatementArguments](http://groue.github.io/GRDB.swift/docs/2.9/Structs/StatementArguments.html) for more information about the query arguments.
|
||||
|
||||
|
||||
## TableMapping Protocol
|
||||
## TableRecord Protocol
|
||||
|
||||
**Adopt the TableMapping protocol** on top of [RowConvertible](#rowconvertible-protocol), and you are granted with the full [query interface](#the-query-interface).
|
||||
**Adopt the TableRecord protocol** on top of [FetchableRecord], and you are granted with the full [query interface](#the-query-interface).
|
||||
|
||||
```swift
|
||||
protocol TableMapping {
|
||||
protocol TableRecord {
|
||||
static var databaseTableName: String { get }
|
||||
static var databaseSelection: [SQLSelectable] { get }
|
||||
}
|
||||
@@ -2164,10 +2164,10 @@ protocol TableMapping {
|
||||
|
||||
The `databaseTableName` type property is the name of a database table. `databaseSelection` is optional, and documented in the [Columns Selected by a Request](#columns-selected-by-a-request) chapter.
|
||||
|
||||
**To use TableMapping**, subclass the [Record](#record-class) class, or adopt it explicitely. For example:
|
||||
**To use TableRecord**, subclass the [Record](#record-class) class, or adopt it explicitely. For example:
|
||||
|
||||
```swift
|
||||
extension Place : TableMapping {
|
||||
extension Place : TableRecord {
|
||||
static let databaseTableName = "places"
|
||||
}
|
||||
```
|
||||
@@ -2179,7 +2179,7 @@ Adopting types can be fetched without SQL, using the [query interface](#the-quer
|
||||
let paris = try Place.filter(nameColumn == "Paris").fetchOne(db)
|
||||
```
|
||||
|
||||
TableMapping can also fetch records by primary key:
|
||||
TableRecord can also fetch records by primary key:
|
||||
|
||||
```swift
|
||||
try Player.fetchOne(db, key: 1) // Player?
|
||||
@@ -2204,13 +2204,13 @@ try Citizenship.fetchOne(db, key: ["playerID": 1, "countryISOCode": "FR"]) // Ci
|
||||
```
|
||||
|
||||
|
||||
## Persistable Protocol
|
||||
## PersistableRecord Protocol
|
||||
|
||||
**GRDB provides two protocols that let adopting types create, update, and delete rows in the database:**
|
||||
|
||||
```swift
|
||||
protocol MutablePersistable : TableMapping {
|
||||
/// The name of the database table (from TableMapping)
|
||||
protocol MutablePersistableRecord : TableRecord {
|
||||
/// The name of the database table (from TableRecord)
|
||||
static var databaseTableName: String { get }
|
||||
|
||||
/// Defines the values persisted in the database
|
||||
@@ -2223,7 +2223,7 @@ protocol MutablePersistable : TableMapping {
|
||||
```
|
||||
|
||||
```swift
|
||||
protocol Persistable : MutablePersistable {
|
||||
protocol PersistableRecord : MutablePersistableRecord {
|
||||
/// Non-mutating version of the optional didInsert(with:for:)
|
||||
func didInsert(with rowID: Int64, for column: String?)
|
||||
}
|
||||
@@ -2231,11 +2231,11 @@ protocol Persistable : MutablePersistable {
|
||||
|
||||
Yes, two protocols instead of one. Both grant exactly the same advantages. Here is how you pick one or the other:
|
||||
|
||||
- *If your type is a struct that mutates on insertion*, choose `MutablePersistable`.
|
||||
- *If your type is a struct that mutates on insertion*, choose `MutablePersistableRecord`.
|
||||
|
||||
For example, your table has an INTEGER PRIMARY KEY and you want to store the inserted id on successful insertion. Or your table has a UUID primary key, and you want to automatically generate one on insertion.
|
||||
|
||||
- Otherwise, stick with `Persistable`. Particularly if your type is a class.
|
||||
- Otherwise, stick with `PersistableRecord`. Particularly if your type is a class.
|
||||
|
||||
The `encode(to:)` method defines which [values](#values) (Bool, Int, String, Date, Swift enums, etc.) are assigned to database columns.
|
||||
|
||||
@@ -2246,7 +2246,7 @@ The optional `didInsert` method lets the adopting type store its rowID after suc
|
||||
**To use those protocols**, subclass the [Record](#record-class) class, or adopt one of them explicitely. For example:
|
||||
|
||||
```swift
|
||||
extension Place : MutablePersistable {
|
||||
extension Place : MutablePersistableRecord {
|
||||
|
||||
/// The values persisted in the database
|
||||
func encode(to container: inout PersistenceContainer) {
|
||||
@@ -2274,7 +2274,7 @@ paris.id // some value
|
||||
Persistence containers also accept keys of type `Column`:
|
||||
|
||||
```swift
|
||||
extension Place : MutablePersistable {
|
||||
extension Place : MutablePersistableRecord {
|
||||
enum Columns {
|
||||
static let id = Column("id")
|
||||
static let title = Column("title")
|
||||
@@ -2294,7 +2294,7 @@ extension Place : MutablePersistable {
|
||||
|
||||
### Persistence Methods
|
||||
|
||||
[Record](#record-class) subclasses and types that adopt [Persistable](#persistable-protocol) are given default implementations for methods that insert, update, and delete:
|
||||
[Record](#record-class) subclasses and types that adopt [PersistableRecord] are given default implementations for methods that insert, update, and delete:
|
||||
|
||||
```swift
|
||||
// Instance methods
|
||||
@@ -2351,10 +2351,10 @@ class Player : Record {
|
||||
}
|
||||
```
|
||||
|
||||
If you use the raw [Persistable](#persistable-protocol) protocol, use one of the *special methods* `performInsert`, `performUpdate`, `performSave`, `performDelete`, or `performExists`:
|
||||
If you use the raw [PersistableRecord] protocol, use one of the *special methods* `performInsert`, `performUpdate`, `performSave`, `performDelete`, or `performExists`:
|
||||
|
||||
```swift
|
||||
struct Link : Persistable {
|
||||
struct Link : PersistableRecord {
|
||||
var url: URL
|
||||
|
||||
func insert(_ db: Database) throws {
|
||||
@@ -2384,7 +2384,7 @@ struct Link : Persistable {
|
||||
|
||||
[Swift Archival & Serialization](https://github.com/apple/swift-evolution/blob/master/proposals/0166-swift-archival-serialization.md) was introduced with Swift 4.
|
||||
|
||||
GRDB provides default implementations for [`RowConvertible.init(row:)`](#rowconvertible-protocol) and [`Persistable.encode(to:)`](#persistable-protocol) for record types that also adopt an archival protocol (`Codable`, `Encodable` or `Decodable`). When all their properties are themselves codable, Swift generates the archiving methods, and you don't need to write them down:
|
||||
GRDB provides default implementations for [`FetchableRecord.init(row:)`](#fetchablerecord-protocol) and [`PersistableRecord.encode(to:)`](#persistablerecord-protocol) for record types that also adopt an archival protocol (`Codable`, `Encodable` or `Decodable`). When all their properties are themselves codable, Swift generates the archiving methods, and you don't need to write them down:
|
||||
|
||||
```swift
|
||||
// Declare a plain Codable struct or class...
|
||||
@@ -2394,7 +2394,7 @@ struct Player: Codable {
|
||||
}
|
||||
|
||||
// Adopt Record protocols...
|
||||
extension Player: RowConvertible, Persistable {
|
||||
extension Player: FetchableRecord, PersistableRecord {
|
||||
static let databaseTableName = "players"
|
||||
}
|
||||
|
||||
@@ -2409,7 +2409,7 @@ GRDB support for Codable works well with "flat" records, whose stored properties
|
||||
|
||||
```swift
|
||||
// Can't take profit from Codable code generation:
|
||||
struct Place: RowConvertible, Persistable, Codable {
|
||||
struct Place: FetchableRecord, PersistableRecord, Codable {
|
||||
static let databaseTableName = "places"
|
||||
|
||||
var title: String
|
||||
@@ -2441,14 +2441,14 @@ struct Place: Codable {
|
||||
}
|
||||
|
||||
// Free database support!
|
||||
extension Place: RowConvertible, Persistable {
|
||||
extension Place: FetchableRecord, PersistableRecord {
|
||||
static let databaseTableName = "places"
|
||||
}
|
||||
```
|
||||
|
||||
GRDB ships with support for nested codable records, but this is a more complex topic. See [Joined Queries Support](#joined-queries-support) for more information.
|
||||
|
||||
As documented with the [Persistable](#persistable-protocol) protocol, have your struct records use MutablePersistable instead of Persistable when they store their automatically incremented row id:
|
||||
As documented with the [PersistableRecord] protocol, have your struct records use MutablePersistableRecord instead of PersistableRecord when they store their automatically incremented row id:
|
||||
|
||||
```swift
|
||||
struct Place: Codable {
|
||||
@@ -2459,7 +2459,7 @@ struct Place: Codable {
|
||||
var coordinate: CLLocationCoordinate2D { ... }
|
||||
}
|
||||
|
||||
extension Place: RowConvertible, MutablePersistable {
|
||||
extension Place: FetchableRecord, MutablePersistableRecord {
|
||||
static let databaseTableName = "places"
|
||||
|
||||
mutating func didInsert(with rowID: Int64, for column: String?) {
|
||||
@@ -2479,7 +2479,7 @@ place.id // A unique id
|
||||
|
||||
## Record Class
|
||||
|
||||
**Record** is a class that is designed to be subclassed. It inherits its features from the [RowConvertible, TableMapping, and Persistable](#record-protocols-overview) protocols. On top of that, Record instances can [track their changes](#changes-tracking).
|
||||
**Record** is a class that is designed to be subclassed. It inherits its features from the [FetchableRecord, TableRecord, and PersistableRecord](#record-protocols-overview) protocols. On top of that, Record instances can [track their changes](#changes-tracking).
|
||||
|
||||
Record subclasses define their custom database relationship by overriding database methods:
|
||||
|
||||
@@ -2526,7 +2526,7 @@ class Place : Record {
|
||||
|
||||
The `update()` [method](#persistence-methods) always executes an UPDATE statement. When the record has not been edited, this costly database access is generally useless.
|
||||
|
||||
You can use instead the `updateChanges` method, available on the [Persistable](#persistable-protocol) protocol, which performs an update of the changed columns only (and does nothing if record has no change):
|
||||
You can use instead the `updateChanges` method, available on the [PersistableRecord] protocol, which performs an update of the changed columns only (and does nothing if record has no change):
|
||||
|
||||
```swift
|
||||
let oldPlayer = try Player.fetchOne(db, ...)
|
||||
@@ -2539,7 +2539,7 @@ if try newPlayer.updateChanges(db, from: oldPlayer) {
|
||||
}
|
||||
```
|
||||
|
||||
> :point_up: **Note**: The comparison is performed of the database representation of records. As long as your record type adopts a Persistable protocol, you don't need to care about Equatable.
|
||||
> :point_up: **Note**: The comparison is performed of the database representation of records. As long as your record type adopts a PersistableRecord protocol, you don't need to care about Equatable.
|
||||
|
||||
The [Record](#record-class) class is able to compare against itself, and knows if it has changes that have not been saved since it was last fetched or persisted:
|
||||
|
||||
@@ -2639,10 +2639,10 @@ The [five different policies](https://www.sqlite.org/lang_conflict.html) are: ab
|
||||
try db.execute("INSERT OR REPLACE INTO players (email) VALUES (?)", arguments: ["arthur@example.com"])
|
||||
```
|
||||
|
||||
When you want to handle conflicts at the query level, specify a custom `persistenceConflictPolicy` in your type that adopts the MutablePersistable or Persistable protocol. It will alter the INSERT and UPDATE queries run by the `insert`, `update` and `save` [persistence methods](#persistence-methods):
|
||||
When you want to handle conflicts at the query level, specify a custom `persistenceConflictPolicy` in your type that adopts the MutablePersistableRecord or PersistableRecord protocol. It will alter the INSERT and UPDATE queries run by the `insert`, `update` and `save` [persistence methods](#persistence-methods):
|
||||
|
||||
```swift
|
||||
protocol MutablePersistable {
|
||||
protocol MutablePersistableRecord {
|
||||
/// The policy that handles SQLite conflicts when records are inserted
|
||||
/// or updated.
|
||||
///
|
||||
@@ -2652,7 +2652,7 @@ protocol MutablePersistable {
|
||||
static var persistenceConflictPolicy: PersistenceConflictPolicy { get }
|
||||
}
|
||||
|
||||
struct Player : MutablePersistable {
|
||||
struct Player : MutablePersistableRecord {
|
||||
static let persistenceConflictPolicy = PersistenceConflictPolicy(
|
||||
insert: .replace,
|
||||
update: .replace)
|
||||
@@ -2710,10 +2710,10 @@ Without primary key, records don't have any identity, and the [persistence metho
|
||||
|
||||
When SQLite won't let you provide an explicit primary key (as in [full-text](#full-text-search) tables, for example), you may want to make your record type fully aware of the hidden rowid column:
|
||||
|
||||
1. Have the `databaseSelection` static property (from the [TableMapping](#tablemapping-protocol) protocol) return the hidden rowid column:
|
||||
1. Have the `databaseSelection` static property (from the [TableRecord] protocol) return the hidden rowid column:
|
||||
|
||||
```swift
|
||||
struct Event : TableMapping {
|
||||
struct Event : TableRecord {
|
||||
static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
}
|
||||
|
||||
@@ -2732,10 +2732,10 @@ When SQLite won't let you provide an explicit primary key (as in [full-text](#fu
|
||||
let events = try Event.fetchAll(db)
|
||||
```
|
||||
|
||||
2. Have `init(row:)` from the [RowConvertible](#rowconvertible-protocol) protocol consume the "rowid" column:
|
||||
2. Have `init(row:)` from the [FetchableRecord] protocol consume the "rowid" column:
|
||||
|
||||
```swift
|
||||
struct Event : RowConvertible {
|
||||
struct Event : FetchableRecord {
|
||||
var id: Int64?
|
||||
|
||||
init(row: Row) {
|
||||
@@ -2759,10 +2759,10 @@ When SQLite won't let you provide an explicit primary key (as in [full-text](#fu
|
||||
event.id // some value
|
||||
```
|
||||
|
||||
3. Encode the rowid in `encode(to:)`, and keep it in the `didInsert(with:for:)` method (both from the [Persistable and MutablePersistable](#persistable-protocol) protocols):
|
||||
3. Encode the rowid in `encode(to:)`, and keep it in the `didInsert(with:for:)` method (both from the [PersistableRecord and MutablePersistableRecord](#persistablerecord-protocol) protocols):
|
||||
|
||||
```swift
|
||||
struct Event : MutablePersistable {
|
||||
struct Event : MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
|
||||
func encode(to container: inout PersistenceContainer) {
|
||||
@@ -2802,54 +2802,54 @@ This is the list of record methods, along with their required protocols. The [Re
|
||||
| Method | Protocols | Notes |
|
||||
| ------ | --------- | :---: |
|
||||
| **Core Methods** | | |
|
||||
| `init(row:)` | [RowConvertible](#rowconvertible-protocol) | |
|
||||
| `Type.databaseTableName` | [TableMapping](#tablemapping-protocol) | |
|
||||
| `Type.databaseSelection` | [TableMapping](#tablemapping-protocol) | [*](#columns-selected-by-a-request) |
|
||||
| `Type.persistenceConflictPolicy` | [Persistable](#persistable-protocol) | [*](#conflict-resolution) |
|
||||
| `record.encode(to:)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.didInsert(with:for:)` | [Persistable](#persistable-protocol) | |
|
||||
| `init(row:)` | [FetchableRecord] | |
|
||||
| `Type.databaseTableName` | [TableRecord] | |
|
||||
| `Type.databaseSelection` | [TableRecord] | [*](#columns-selected-by-a-request) |
|
||||
| `Type.persistenceConflictPolicy` | [PersistableRecord] | [*](#conflict-resolution) |
|
||||
| `record.encode(to:)` | [PersistableRecord] | |
|
||||
| `record.didInsert(with:for:)` | [PersistableRecord] | |
|
||||
| **Insert and Update Records** | | |
|
||||
| `record.insert(db)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.save(db)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.update(db)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.update(db, columns:...)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.updateChanges(db, from:...)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.insert(db)` | [PersistableRecord] | |
|
||||
| `record.save(db)` | [PersistableRecord] | |
|
||||
| `record.update(db)` | [PersistableRecord] | |
|
||||
| `record.update(db, columns:...)` | [PersistableRecord] | |
|
||||
| `record.updateChanges(db, from:...)` | [PersistableRecord] | |
|
||||
| `record.updateChanges(db)` | [Record](#record-class) | |
|
||||
| **Delete Records** | | |
|
||||
| `record.delete(db)` | [Persistable](#persistable-protocol) | |
|
||||
| `Type.deleteOne(db, key:...)` | [Persistable](#persistable-protocol) | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.deleteAll(db)` | [Persistable](#persistable-protocol) | |
|
||||
| `Type.deleteAll(db, keys:...)` | [Persistable](#persistable-protocol) | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.filter(...).deleteAll(db)` | [Persistable](#persistable-protocol) | <a href="#list-of-record-methods-2">²</a> |
|
||||
| `record.delete(db)` | [PersistableRecord] | |
|
||||
| `Type.deleteOne(db, key:...)` | [PersistableRecord] | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.deleteAll(db)` | [PersistableRecord] | |
|
||||
| `Type.deleteAll(db, keys:...)` | [PersistableRecord] | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.filter(...).deleteAll(db)` | [PersistableRecord] | <a href="#list-of-record-methods-2">²</a> |
|
||||
| **Check Record Existence** | | |
|
||||
| `record.exists(db)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.exists(db)` | [PersistableRecord] | |
|
||||
| **Convert Record to Dictionary** | | |
|
||||
| `record.databaseDictionary` | [Persistable](#persistable-protocol) | |
|
||||
| `record.databaseDictionary` | [PersistableRecord] | |
|
||||
| **Count Records** | | |
|
||||
| `Type.fetchCount(db)` | [TableMapping](#tablemapping-protocol) | |
|
||||
| `Type.filter(...).fetchCount(db)` | [TableMapping](#tablemapping-protocol) | <a href="#list-of-record-methods-2">²</a> |
|
||||
| `Type.fetchCount(db)` | [TableRecord] | |
|
||||
| `Type.filter(...).fetchCount(db)` | [TableRecord] | <a href="#list-of-record-methods-2">²</a> |
|
||||
| **Fetch Record [Cursors](#cursors)** | | |
|
||||
| `Type.fetchCursor(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | |
|
||||
| `Type.fetchCursor(db, keys:...)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.fetchCursor(db, sql)` | [RowConvertible](#rowconvertible-protocol) | <a href="#list-of-record-methods-3">³</a> |
|
||||
| `Type.fetchCursor(statement)` | [RowConvertible](#rowconvertible-protocol) | <a href="#list-of-record-methods-4">⁴</a> |
|
||||
| `Type.filter(...).fetchCursor(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | <a href="#list-of-record-methods-2">²</a> |
|
||||
| `Type.fetchCursor(db)` | [FetchableRecord] & [TableRecord] | |
|
||||
| `Type.fetchCursor(db, keys:...)` | [FetchableRecord] & [TableRecord] | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.fetchCursor(db, sql)` | [FetchableRecord] | <a href="#list-of-record-methods-3">³</a> |
|
||||
| `Type.fetchCursor(statement)` | [FetchableRecord] | <a href="#list-of-record-methods-4">⁴</a> |
|
||||
| `Type.filter(...).fetchCursor(db)` | [FetchableRecord] & [TableRecord] | <a href="#list-of-record-methods-2">²</a> |
|
||||
| **Fetch Record Arrays** | | |
|
||||
| `Type.fetchAll(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | |
|
||||
| `Type.fetchAll(db, keys:...)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.fetchAll(db, sql)` | [RowConvertible](#rowconvertible-protocol) | <a href="#list-of-record-methods-3">³</a> |
|
||||
| `Type.fetchAll(statement)` | [RowConvertible](#rowconvertible-protocol) | <a href="#list-of-record-methods-4">⁴</a> |
|
||||
| `Type.filter(...).fetchAll(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | <a href="#list-of-record-methods-2">²</a> |
|
||||
| `Type.fetchAll(db)` | [FetchableRecord] & [TableRecord] | |
|
||||
| `Type.fetchAll(db, keys:...)` | [FetchableRecord] & [TableRecord] | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.fetchAll(db, sql)` | [FetchableRecord] | <a href="#list-of-record-methods-3">³</a> |
|
||||
| `Type.fetchAll(statement)` | [FetchableRecord] | <a href="#list-of-record-methods-4">⁴</a> |
|
||||
| `Type.filter(...).fetchAll(db)` | [FetchableRecord] & [TableRecord] | <a href="#list-of-record-methods-2">²</a> |
|
||||
| **Fetch Individual Records** | | |
|
||||
| `Type.fetchOne(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | |
|
||||
| `Type.fetchOne(db, key:...)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.fetchOne(db, sql)` | [RowConvertible](#rowconvertible-protocol) | <a href="#list-of-record-methods-3">³</a> |
|
||||
| `Type.fetchOne(statement)` | [RowConvertible](#rowconvertible-protocol) | <a href="#list-of-record-methods-4">⁴</a> |
|
||||
| `Type.filter(...).fetchOne(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | <a href="#list-of-record-methods-2">²</a> |
|
||||
| `Type.fetchOne(db)` | [FetchableRecord] & [TableRecord] | |
|
||||
| `Type.fetchOne(db, key:...)` | [FetchableRecord] & [TableRecord] | <a href="#list-of-record-methods-1">¹</a> |
|
||||
| `Type.fetchOne(db, sql)` | [FetchableRecord] | <a href="#list-of-record-methods-3">³</a> |
|
||||
| `Type.fetchOne(statement)` | [FetchableRecord] | <a href="#list-of-record-methods-4">⁴</a> |
|
||||
| `Type.filter(...).fetchOne(db)` | [FetchableRecord] & [TableRecord] | <a href="#list-of-record-methods-2">²</a> |
|
||||
| **[Changes Tracking](#changes-tracking)** | | |
|
||||
| `record.databaseEqual(...)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.databaseChanges(from:...)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.updateChanges(db, from:...)` | [Persistable](#persistable-protocol) | |
|
||||
| `record.databaseEqual(...)` | [PersistableRecord] | |
|
||||
| `record.databaseChanges(from:...)` | [PersistableRecord] | |
|
||||
| `record.updateChanges(db, from:...)` | [PersistableRecord] | |
|
||||
| `record.hasDatabaseChanges` | [Record](#record-class) | |
|
||||
| `record.databaseChanges` | [Record](#record-class) | |
|
||||
| `record.updateChanges(db)` | [Record](#record-class) | |
|
||||
@@ -3117,7 +3117,7 @@ let players = try request.fetchAll(db) // [Player]
|
||||
let count = try request.fetchCount(db) // Int
|
||||
```
|
||||
|
||||
All requests start from **a type** that adopts the `TableMapping` protocol, such as a `Record` subclass (see [Records](#records)):
|
||||
All requests start from **a type** that adopts the `TableRecord` protocol, such as a `Record` subclass (see [Records](#records)):
|
||||
|
||||
```swift
|
||||
class Player : Record { ... }
|
||||
@@ -3309,12 +3309,12 @@ let request = Player.select(AllColumns(), Column.rowID)
|
||||
To specify the default selection for all requests built from a type, define the `databaseSelection` property:
|
||||
|
||||
```swift
|
||||
struct RestrictedPlayer : TableMapping {
|
||||
struct RestrictedPlayer : TableRecord {
|
||||
static let databaseTableName = "players"
|
||||
static let databaseSelection: [SQLSelectable] = [Column("id"), Column("name")]
|
||||
}
|
||||
|
||||
struct ExtendedPlayer : TableMapping {
|
||||
struct ExtendedPlayer : TableRecord {
|
||||
static let databaseTableName = "players"
|
||||
static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
}
|
||||
@@ -3526,7 +3526,7 @@ let arthur = try Player.filter(nameColumn == "Arthur").fetchOne(db) // Player?
|
||||
```
|
||||
|
||||
|
||||
**When the selected columns don't fit the source type**, change your target: any other type that adopts the [RowConvertible](#rowconvertible-protocol) protocol, plain [database rows](#fetching-rows), and even [values](#values):
|
||||
**When the selected columns don't fit the source type**, change your target: any other type that adopts the [FetchableRecord] protocol, plain [database rows](#fetching-rows), and even [values](#values):
|
||||
|
||||
```swift
|
||||
let maxScore = try Player.select(max(scoreColumn))
|
||||
@@ -3663,7 +3663,7 @@ let request = Player.filter(emailColumn == nil)
|
||||
try request.deleteAll(db)
|
||||
```
|
||||
|
||||
> :point_up: **Note** Deletion methods are only available for records that adopts the [Persistable](#persistable-protocol) protocol.
|
||||
> :point_up: **Note** Deletion methods are only available for records that adopts the [PersistableRecord] protocol.
|
||||
|
||||
**Deleting records according to their primary key** is also quite common. It has a shortcut which accepts any single-column primary key:
|
||||
|
||||
@@ -3701,7 +3701,7 @@ Player.deleteOne(db, key: ["email": "arthur@example.com"])
|
||||
|
||||
## Custom Requests
|
||||
|
||||
Until now, we have seen [requests](#requests) created from any type that adopts the [TableMapping](#tablemapping-protocol) protocol:
|
||||
Until now, we have seen [requests](#requests) created from any type that adopts the [TableRecord] protocol:
|
||||
|
||||
```swift
|
||||
let request = Player.all() // QueryInterfaceRequest<Player>
|
||||
@@ -4606,7 +4606,7 @@ This technique works pretty well, but it has three drawbacks:
|
||||
|
||||
1. The selection becomes hard to read and understand.
|
||||
2. Such queries are difficult to write by hand.
|
||||
3. The mangled names are a *very* bad fit for [RowConvertible](#rowconvertible-protocol) records that expect specific column names. After all, if the `Team` record type can read `SELECT * FROM teams ...`, it should be able to read `SELECT ..., teams.*, ...` as well.
|
||||
3. The mangled names are a *very* bad fit for [FetchableRecord] records that expect specific column names. After all, if the `Team` record type can read `SELECT * FROM teams ...`, it should be able to read `SELECT ..., teams.*, ...` as well.
|
||||
|
||||
We thus need another technique. **Below we'll see how to split rows into slices, and preserve column names.**
|
||||
|
||||
@@ -4712,10 +4712,10 @@ Our introduction above has introduced important techniques. It uses [row adapter
|
||||
But we may want to make it more usable and robust:
|
||||
|
||||
1. It's generally easier to consume records than raw rows.
|
||||
2. Joined records not always need all columns from a table (see `TableMapping.databaseSelection` in [Columns Selected by a Request](#columns-selected-by-a-request)).
|
||||
2. Joined records not always need all columns from a table (see `TableRecord.databaseSelection` in [Columns Selected by a Request](#columns-selected-by-a-request)).
|
||||
3. Building row adapters is long and error prone.
|
||||
|
||||
To address the first bullet, let's define a record that holds our player, optional team, and maximum score. Since it can decode database rows, it adopts the [RowConvertible](#rowconvertible-protocol) protocol:
|
||||
To address the first bullet, let's define a record that holds our player, optional team, and maximum score. Since it can decode database rows, it adopts the [FetchableRecord] protocol:
|
||||
|
||||
```swift
|
||||
struct Item {
|
||||
@@ -4725,7 +4725,7 @@ struct Item {
|
||||
}
|
||||
|
||||
/// Item can decode rows:
|
||||
extension Item: RowConvertible {
|
||||
extension Item: FetchableRecord {
|
||||
private enum Scopes {
|
||||
static let player = "player"
|
||||
static let team = "team"
|
||||
@@ -4800,7 +4800,7 @@ let items = try dbQueue.inDatabase { db in
|
||||
|
||||
> :bulb: In this chapter, we have learned:
|
||||
>
|
||||
> - how to define a `RowConvertible` record that consumes rows fetched from a joined query.
|
||||
> - how to define a `FetchableRecord` record that consumes rows fetched from a joined query.
|
||||
> - how to use `selectionSQL` and `numberOfSelectedColumns` in order to deal with nested record types that define custom selection.
|
||||
> - how to use `splittingRowAdapters` in order to streamline the definition of row slices.
|
||||
> - how to gather all relevant methods and constants in a record type, fully responsible of its relationship with the database.
|
||||
@@ -4820,7 +4820,7 @@ struct Item {
|
||||
}
|
||||
|
||||
/// Item can decode rows:
|
||||
extension Item: RowConvertible {
|
||||
extension Item: FetchableRecord {
|
||||
private enum Scopes {
|
||||
static let player = "player"
|
||||
static let team = "team"
|
||||
@@ -4893,18 +4893,18 @@ Item.all()
|
||||
You can consume complex joined queries with Codable records as well. As a demonstration, we'll rewrite the [above](#splitting-rows-the-request-way) sample code:
|
||||
|
||||
```swift
|
||||
struct Player: Decodable, RowConvertible, TableMapping {
|
||||
struct Player: Decodable, FetchableRecord, TableRecord {
|
||||
static let databaseTableName = "players"
|
||||
var id: Int64
|
||||
var name: String
|
||||
}
|
||||
struct Team: Decodable, RowConvertible, TableMapping {
|
||||
struct Team: Decodable, FetchableRecord, TableRecord {
|
||||
static let databaseTableName = "teams"
|
||||
var id: Int64
|
||||
var name: String
|
||||
var color: Color
|
||||
}
|
||||
struct Item: Decodable, RowConvertible {
|
||||
struct Item: Decodable, FetchableRecord {
|
||||
var player: Player
|
||||
var team: Team?
|
||||
var maxScore: Int
|
||||
@@ -5303,7 +5303,7 @@ protocol TransactionObserverType : class {
|
||||
|
||||
It looks and behaves very much like [Core Data's NSFetchedResultsController](https://developer.apple.com/library/ios/documentation/CoreData/Reference/NSFetchedResultsController_Class/).
|
||||
|
||||
Given a fetch request, and a type that adopts the [RowConvertible](#rowconvertible-protocol) protocol, such as a subclass of the [Record](#record-class) class, a FetchedRecordsController is able to track changes in the results of the fetch request, notify of those changes, and return the results of the request in a form that is suitable for a table view or a collection view, with one cell per fetched record.
|
||||
Given a fetch request, and a type that adopts the [FetchableRecord] protocol, such as a subclass of the [Record](#record-class) class, a FetchedRecordsController is able to track changes in the results of the fetch request, notify of those changes, and return the results of the request in a form that is suitable for a table view or a collection view, with one cell per fetched record.
|
||||
|
||||
See [GRDBDemoiOS](DemoApps/GRDBDemoiOS/GRDBDemoiOS) for an sample app that uses FetchedRecordsController.
|
||||
|
||||
@@ -5324,7 +5324,7 @@ See also [RxGRDB](http://github.com/RxSwiftCommunity/RxGRDB), an [RxSwift](https
|
||||
When you initialize a fetched records controller, you provide the following mandatory information:
|
||||
|
||||
- A [database connection](#database-connections)
|
||||
- The type of the fetched records. It must be a type that adopts the [RowConvertible](#rowconvertible-protocol) protocol, such as a subclass of the [Record](#record-class) class
|
||||
- The type of the fetched records. It must be a type that adopts the [FetchableRecord] protocol, such as a subclass of the [Record](#record-class) class
|
||||
- A fetch request
|
||||
|
||||
```swift
|
||||
@@ -5489,10 +5489,10 @@ try controller.performFetch()
|
||||
|
||||
FetchedRecordsController let you feed table and collection views, and keep them up-to-date with the database content.
|
||||
|
||||
For nice animated updates, a fetched records controller needs to recognize identical records between two different result sets. When records adopt the [TableMapping](#tablemapping-protocol) protocol, they are automatically compared according to their primary key:
|
||||
For nice animated updates, a fetched records controller needs to recognize identical records between two different result sets. When records adopt the [TableRecord] protocol, they are automatically compared according to their primary key:
|
||||
|
||||
```swift
|
||||
class Player : TableMapping { ... }
|
||||
class Player : TableRecord { ... }
|
||||
let controller = FetchedRecordsController(
|
||||
dbQueue,
|
||||
request: Player.all())
|
||||
@@ -5849,7 +5849,7 @@ do {
|
||||
|
||||
### PersistenceError
|
||||
|
||||
**PersistenceError** is thrown by the [Persistable](#persistable-protocol) protocol, in a single case: when the `update` method could not find any row to update:
|
||||
**PersistenceError** is thrown by the [PersistableRecord] protocol, in a single case: when the `update` method could not find any row to update:
|
||||
|
||||
```swift
|
||||
do {
|
||||
@@ -6912,3 +6912,22 @@ Sample Code
|
||||
- [Vladimir Babin](https://github.com/Chiliec), [Darren Clark](https://github.com/darrenclark), [Pascal Edmond](https://github.com/pakko972), [Andrey Fidrya](https://github.com/zmeyc), [Cristian Filipov](https://github.com/cfilipov), [David Hart](https://github.com/hartbit), [Brad Lindsay](https://github.com/bfad), [@peter-ss](https://github.com/peter-ss), [Pierre-Loïc Raynaud](https://github.com/pierlo), [Stefano Rodriguez](https://github.com/sroddy) [Steven Schveighoffer](https://github.com/schveiguy), [@swiftlyfalling](https://github.com/swiftlyfalling), and [Kevin Wooten](https://github.com/kdubb) for their contributions, help, and feedback on GRDB.
|
||||
- [@aymerick](https://github.com/aymerick) and [Mathieu "Kali" Poumeyrol](https://github.com/kali) because SQL.
|
||||
- [ccgus/fmdb](https://github.com/ccgus/fmdb) for its excellency.
|
||||
|
||||
Legacy
|
||||
======
|
||||
|
||||
#### Persistable Protocol
|
||||
|
||||
This protocol has been renamed [PersistableRecord] in GRDB 3.0.
|
||||
|
||||
#### RowConvertible Protocol
|
||||
|
||||
This protocol has been renamed [FetchableRecord] in GRDB 3.0.
|
||||
|
||||
#### TableMapping Protocol
|
||||
|
||||
This protocol has been renamed [TableRecord] in GRDB 3.0.
|
||||
|
||||
[FetchableRecord]: #fetchablerecord-protocol
|
||||
[PersistableRecord]: #persistablerecord-protocol
|
||||
[TableRecord]: #tablerecord-protocol
|
||||
@@ -24,18 +24,18 @@ GRDB 3.0
|
||||
- [ ] Hide useless scheduling methods behind protocols : https://forums.swift.org/t/discouraging-protocol-methods-on-concrete-values/8737/4?u=gwendal.roue
|
||||
- [ ] Make DatabasePool.write safe. See https://github.com/groue/GRDB.swift/commit/5e3c7d9c430df606a1cccfd4983be6b50e778a5c#commitcomment-26988970
|
||||
- [ ] Do one of those two:
|
||||
1. Make save() impossible to customize: remove it from Persistable protocol, and remove performSave() from tne public API.
|
||||
1. Make save() impossible to customize: remove it from EncodableRecord protocol, and remove performSave() from tne public API.
|
||||
2. Open Record.save(), and have RecordBox.save() forward this method to its underlying type.
|
||||
- [ ] Not sure: Make the MutablePersistable.update(_:columns:) method mutating (as support for an updatedDate column). If so, allow type to change the set of changed columns.
|
||||
- [ ] Not sure: Make the MutableEncodableRecord.update(_:columns:) method mutating (as support for an updatedDate column). If so, allow type to change the set of changed columns.
|
||||
- [ ] Not sure: type safety
|
||||
- [ ] Introduce some record protocol with an associated primary key type. Restrict filter(key:) methods to this type. Allow distinguishing FooId from BarId types.
|
||||
- [ ] Replace Column with TypedColumn. How to avoid code duplication (repeated types)? Keypaths?
|
||||
- [ ] Rename RowConvertible, TableMapping, MutablePersistable and Persistable so that their names contain Record: FetchableRecord, TableRecord, MutablePersistableRecord, PersistableRecord?
|
||||
- [ ] Not sure: Consider introducing RowDecodable and RowEncodable on top of FetchableRecord and MutablePersistableRecord. This would allow keeping fetching and persistence methods private in some files.
|
||||
- [ ] Rename RowConvertible, TableRecord, MutableEncodableRecord and EncodableRecord so that their names contain Record: FetchableRecord, TableRecord, MutableEncodableRecordRecord, EncodableRecordRecord?
|
||||
- [ ] Not sure: Consider introducing RowDecodable and RowEncodable on top of FetchableRecord and MutableEncodableRecordRecord. This would allow keeping fetching and persistence methods private in some files.
|
||||
- [X] Drop IteratorCursor, use AnyCursor instead
|
||||
- [X] Rename TypedRequest to FetchRequest, drop Request
|
||||
- [ ] Rename columnCount -> numberOfColumns
|
||||
- [ ] Try to remove double Persistable/MutablePersistable protocols: Would non-mutating Record methods help?
|
||||
- [ ] Try to remove double EncodableRecord/MutableEncodableRecord protocols: Would non-mutating Record methods help?
|
||||
|
||||
Not sure
|
||||
|
||||
|
||||
@@ -110,27 +110,27 @@ private class UserFTS5WrapperTokenizer : FTS5WrapperTokenizer {
|
||||
}
|
||||
#endif
|
||||
|
||||
// MARK: - MutablePersistable
|
||||
// MARK: - MutablePersistableRecord
|
||||
|
||||
private struct UserMutablePersistable1 : MutablePersistable {
|
||||
static let databaseTableName = "UserMutablePersistable1"
|
||||
private struct UserMutablePersistableRecord1 : MutablePersistableRecord {
|
||||
static let databaseTableName = "UserMutablePersistableRecord1"
|
||||
func encode(to container: inout PersistenceContainer) { }
|
||||
}
|
||||
|
||||
private class UserMutablePersistable2 : MutablePersistable {
|
||||
static let databaseTableName = "UserMutablePersistable2"
|
||||
private class UserMutablePersistableRecord2 : MutablePersistableRecord {
|
||||
static let databaseTableName = "UserMutablePersistableRecord2"
|
||||
func encode(to container: inout PersistenceContainer) { }
|
||||
}
|
||||
|
||||
// MARK: - Persistable
|
||||
// MARK: - PersistableRecord
|
||||
|
||||
private struct UserPersistable1 : Persistable {
|
||||
static let databaseTableName = "UserPersistable1"
|
||||
private struct UserPersistableRecord1 : PersistableRecord {
|
||||
static let databaseTableName = "UserPersistableRecord1"
|
||||
func encode(to container: inout PersistenceContainer) { }
|
||||
}
|
||||
|
||||
private class UserPersistable2 : Persistable {
|
||||
static let databaseTableName = "UserPersistable2"
|
||||
private class UserPersistableRecord2 : PersistableRecord {
|
||||
static let databaseTableName = "UserPersistableRecord2"
|
||||
func encode(to container: inout PersistenceContainer) { }
|
||||
}
|
||||
|
||||
@@ -142,13 +142,13 @@ private struct UserRowRequest : FetchRequest {
|
||||
func prepare(_ db: Database) throws -> (SelectStatement, RowAdapter?) { preconditionFailure() }
|
||||
}
|
||||
|
||||
// MARK: - RowConvertible
|
||||
// MARK: - FetchableRecord
|
||||
|
||||
private struct UserRowConvertible1 : RowConvertible {
|
||||
private struct UserFetchableRecord1 : FetchableRecord {
|
||||
init(row: Row) { }
|
||||
}
|
||||
|
||||
private class UserRowConvertible2 : RowConvertible {
|
||||
private class UserFetchableRecord2 : FetchableRecord {
|
||||
required init(row: Row) { }
|
||||
}
|
||||
|
||||
@@ -162,14 +162,14 @@ private class UserStatementColumnConvertible2 : StatementColumnConvertible {
|
||||
required init(sqliteStatement: SQLiteStatement, index: Int32) { }
|
||||
}
|
||||
|
||||
// MARK: - TableMapping
|
||||
// MARK: - TableRecord
|
||||
|
||||
private struct UserTableMapping1 : TableMapping {
|
||||
static let databaseTableName = "UserTableMapping1"
|
||||
private struct UserTableRecord1 : TableRecord {
|
||||
static let databaseTableName = "UserTableRecord1"
|
||||
}
|
||||
|
||||
private class UserTableMapping2 : TableMapping {
|
||||
static let databaseTableName = "UserTableMapping2"
|
||||
private class UserTableRecord2 : TableRecord {
|
||||
static let databaseTableName = "UserTableRecord2"
|
||||
}
|
||||
|
||||
// MARK: - TransactionObserver
|
||||
|
||||
@@ -287,7 +287,7 @@ class DatabaseRegionTests : GRDBTestCase {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE TABLE foo (id INTEGER PRIMARY KEY, a TEXT)")
|
||||
struct Record: TableMapping {
|
||||
struct Record: TableRecord {
|
||||
static let databaseTableName = "foo"
|
||||
}
|
||||
|
||||
@@ -414,7 +414,7 @@ class DatabaseRegionTests : GRDBTestCase {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE TABLE foo (id INTEGER PRIMARY KEY, a TEXT)")
|
||||
struct Record: TableMapping {
|
||||
struct Record: TableRecord {
|
||||
static let databaseTableName = "foo"
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ private struct Book {
|
||||
let body: String
|
||||
}
|
||||
|
||||
extension Book : RowConvertible {
|
||||
extension Book : FetchableRecord {
|
||||
init(row: Row) {
|
||||
id = row[.rowID]
|
||||
title = row["title"]
|
||||
@@ -23,7 +23,7 @@ extension Book : RowConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
extension Book : MutablePersistable {
|
||||
extension Book : MutablePersistableRecord {
|
||||
static let databaseTableName = "books"
|
||||
static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ private struct Book {
|
||||
let body: String
|
||||
}
|
||||
|
||||
extension Book : RowConvertible {
|
||||
extension Book : FetchableRecord {
|
||||
init(row: Row) {
|
||||
id = row[.rowID]
|
||||
title = row["title"]
|
||||
@@ -23,7 +23,7 @@ extension Book : RowConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
extension Book : MutablePersistable {
|
||||
extension Book : MutablePersistableRecord {
|
||||
static let databaseTableName = "books"
|
||||
static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ private struct Book {
|
||||
let body: String
|
||||
}
|
||||
|
||||
extension Book : RowConvertible {
|
||||
extension Book : FetchableRecord {
|
||||
init(row: Row) {
|
||||
id = row[.rowID]
|
||||
title = row["title"]
|
||||
@@ -24,7 +24,7 @@ extension Book : RowConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
extension Book : MutablePersistable {
|
||||
extension Book : MutablePersistableRecord {
|
||||
static let databaseTableName = "books"
|
||||
static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class FetchRequestTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
func testRequestFetchRecords() throws {
|
||||
struct CustomRecord: RowConvertible, Decodable {
|
||||
struct CustomRecord: FetchableRecord, Decodable {
|
||||
var id: Int
|
||||
}
|
||||
struct CustomRequest : FetchRequest {
|
||||
|
||||
+5
-5
@@ -13,7 +13,7 @@ private struct Reader {
|
||||
let age: Int?
|
||||
}
|
||||
|
||||
extension Reader : RowConvertible {
|
||||
extension Reader : FetchableRecord {
|
||||
init(row: Row) {
|
||||
id = row["id"]
|
||||
name = row["name"]
|
||||
@@ -21,7 +21,7 @@ extension Reader : RowConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
extension Reader : MutablePersistable {
|
||||
extension Reader : MutablePersistableRecord {
|
||||
static let databaseTableName = "readers"
|
||||
|
||||
func encode(to container: inout PersistenceContainer) {
|
||||
@@ -41,7 +41,7 @@ private struct AltReader {
|
||||
let age: Int?
|
||||
}
|
||||
|
||||
extension AltReader : RowConvertible {
|
||||
extension AltReader : FetchableRecord {
|
||||
init(row: Row) {
|
||||
id = row["id"]
|
||||
name = row["name"]
|
||||
@@ -50,7 +50,7 @@ extension AltReader : RowConvertible {
|
||||
}
|
||||
|
||||
|
||||
class RowConvertibleQueryInterfaceRequestTests: GRDBTestCase {
|
||||
class FetchableRecordQueryInterfaceRequestTests: GRDBTestCase {
|
||||
|
||||
override func setup(_ dbWriter: DatabaseWriter) throws {
|
||||
var migrator = DatabaseMigrator()
|
||||
@@ -66,7 +66,7 @@ class RowConvertibleQueryInterfaceRequestTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
|
||||
// MARK: - Fetch RowConvertible
|
||||
// MARK: - Fetch FetchableRecord
|
||||
|
||||
func testAll() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
+19
-19
@@ -8,14 +8,14 @@ import XCTest
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
class RowConvertibleDecodableTests: GRDBTestCase { }
|
||||
class FetchableRecordDecodableTests: GRDBTestCase { }
|
||||
|
||||
// MARK: - RowConvertible conformance derived from Decodable
|
||||
// MARK: - FetchableRecord conformance derived from Decodable
|
||||
|
||||
extension RowConvertibleDecodableTests {
|
||||
extension FetchableRecordDecodableTests {
|
||||
|
||||
func testTrivialDecodable() {
|
||||
struct Struct : RowConvertible, Decodable {
|
||||
struct Struct : FetchableRecord, Decodable {
|
||||
let value: String
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ extension RowConvertibleDecodableTests {
|
||||
}
|
||||
|
||||
func testCustomDecodable() {
|
||||
struct Struct : RowConvertible, Decodable {
|
||||
struct Struct : FetchableRecord, Decodable {
|
||||
let value: String
|
||||
|
||||
private enum CodingKeys : String, CodingKey {
|
||||
@@ -45,28 +45,28 @@ extension RowConvertibleDecodableTests {
|
||||
}
|
||||
}
|
||||
|
||||
func testCustomRowConvertible() {
|
||||
struct Struct : RowConvertible, Decodable {
|
||||
func testCustomFetchableRecord() {
|
||||
struct Struct : FetchableRecord, Decodable {
|
||||
let value: String
|
||||
|
||||
init(row: Row) {
|
||||
value = (row["value"] as String) + " (RowConvertible)"
|
||||
value = (row["value"] as String) + " (FetchableRecord)"
|
||||
}
|
||||
}
|
||||
|
||||
do {
|
||||
let s = Struct(row: ["value": "foo"])
|
||||
XCTAssertEqual(s.value, "foo (RowConvertible)")
|
||||
XCTAssertEqual(s.value, "foo (FetchableRecord)")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Different kinds of single-value properties
|
||||
|
||||
extension RowConvertibleDecodableTests {
|
||||
extension FetchableRecordDecodableTests {
|
||||
|
||||
func testTrivialProperty() {
|
||||
struct Struct : RowConvertible, Decodable {
|
||||
struct Struct : FetchableRecord, Decodable {
|
||||
let int64: Int64
|
||||
let optionalInt64: Int64?
|
||||
}
|
||||
@@ -100,7 +100,7 @@ extension RowConvertibleDecodableTests {
|
||||
}
|
||||
}
|
||||
|
||||
struct Struct : RowConvertible, Decodable {
|
||||
struct Struct : FetchableRecord, Decodable {
|
||||
let value: Value
|
||||
let optionalValue: Value?
|
||||
}
|
||||
@@ -144,7 +144,7 @@ extension RowConvertibleDecodableTests {
|
||||
}
|
||||
}
|
||||
|
||||
struct Struct : RowConvertible, Decodable {
|
||||
struct Struct : FetchableRecord, Decodable {
|
||||
let value: Value
|
||||
let optionalValue: Value?
|
||||
}
|
||||
@@ -181,7 +181,7 @@ extension RowConvertibleDecodableTests {
|
||||
case foo, bar
|
||||
}
|
||||
|
||||
struct Struct : RowConvertible, Decodable {
|
||||
struct Struct : FetchableRecord, Decodable {
|
||||
let value: Value
|
||||
let optionalValue: Value?
|
||||
}
|
||||
@@ -239,7 +239,7 @@ extension RowConvertibleDecodableTests {
|
||||
}
|
||||
}
|
||||
|
||||
struct Struct : RowConvertible, Decodable {
|
||||
struct Struct : FetchableRecord, Decodable {
|
||||
let value: Value
|
||||
let optionalValue: Value?
|
||||
}
|
||||
@@ -269,10 +269,10 @@ extension RowConvertibleDecodableTests {
|
||||
|
||||
// MARK: - Foundation Codable Types
|
||||
|
||||
extension RowConvertibleDecodableTests {
|
||||
extension FetchableRecordDecodableTests {
|
||||
|
||||
func testStructWithDate() {
|
||||
struct StructWithDate : RowConvertible, Decodable {
|
||||
struct StructWithDate : FetchableRecord, Decodable {
|
||||
let date: Date
|
||||
}
|
||||
|
||||
@@ -282,7 +282,7 @@ extension RowConvertibleDecodableTests {
|
||||
}
|
||||
|
||||
func testStructWithURL() {
|
||||
struct StructWithURL : RowConvertible, Decodable {
|
||||
struct StructWithURL : FetchableRecord, Decodable {
|
||||
let url: URL
|
||||
}
|
||||
|
||||
@@ -292,7 +292,7 @@ extension RowConvertibleDecodableTests {
|
||||
}
|
||||
|
||||
func testStructWithUUID() {
|
||||
struct StructWithUUID : RowConvertible, Decodable {
|
||||
struct StructWithUUID : FetchableRecord, Decodable {
|
||||
let uuid: UUID
|
||||
}
|
||||
|
||||
+2
-2
@@ -12,14 +12,14 @@ private struct Fetched {
|
||||
var lastName: String
|
||||
}
|
||||
|
||||
extension Fetched : RowConvertible {
|
||||
extension Fetched : FetchableRecord {
|
||||
init(row: Row) {
|
||||
firstName = row["firstName"]
|
||||
lastName = row["lastName"]
|
||||
}
|
||||
}
|
||||
|
||||
class RowConvertibleTests: GRDBTestCase {
|
||||
class FetchableRecordTests: GRDBTestCase {
|
||||
|
||||
func testRowInitializer() {
|
||||
let row = Row(["firstName": "Arthur", "lastName": "Martin"])
|
||||
@@ -7,7 +7,7 @@ import XCTest
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
private class ChangesRecorder<Record: RowConvertible> {
|
||||
private class ChangesRecorder<Record: FetchableRecord> {
|
||||
var changes: [(record: Record, change: FetchedRecordChange)] = []
|
||||
var recordsBeforeChanges: [Record]!
|
||||
var recordsAfterChanges: [Record]!
|
||||
@@ -85,7 +85,7 @@ private class Person : Record {
|
||||
}
|
||||
}
|
||||
|
||||
private struct Book : RowConvertible {
|
||||
private struct Book : FetchableRecord {
|
||||
var id: Int64
|
||||
var authorID: Int64
|
||||
var title: String
|
||||
|
||||
@@ -131,7 +131,7 @@ class GRDBTestCase: XCTestCase {
|
||||
XCTAssertTrue(sqlQueries.contains(sql), "Did not execute \(sql)")
|
||||
}
|
||||
|
||||
func assert(_ record: MutablePersistable, isEncodedIn row: Row, file: StaticString = #file, line: UInt = #line) {
|
||||
func assert(_ record: MutablePersistableRecord, isEncodedIn row: Row, file: StaticString = #file, line: UInt = #line) {
|
||||
let recordDict = record.databaseDictionary
|
||||
let rowDict = Dictionary(row, uniquingKeysWith: { (left, _) in left })
|
||||
XCTAssertEqual(recordDict, rowDict, file: file, line: line)
|
||||
|
||||
@@ -41,33 +41,33 @@ let testedSQL = """
|
||||
ORDER BY t1.id
|
||||
"""
|
||||
|
||||
private struct T1: Codable, RowConvertible, TableMapping {
|
||||
private struct T1: Codable, FetchableRecord, TableRecord {
|
||||
static let databaseTableName = "t1"
|
||||
var id: Int64
|
||||
var name: String
|
||||
}
|
||||
|
||||
private struct T2: Codable, RowConvertible, TableMapping {
|
||||
private struct T2: Codable, FetchableRecord, TableRecord {
|
||||
static let databaseTableName = "t2"
|
||||
var id: Int64
|
||||
var t1id: Int64
|
||||
var name: String
|
||||
}
|
||||
|
||||
private struct T3: Codable, RowConvertible, TableMapping {
|
||||
private struct T3: Codable, FetchableRecord, TableRecord {
|
||||
static let databaseTableName = "t3"
|
||||
static let databaseSelection: [SQLSelectable] = [Column("t1id"), Column("name")]
|
||||
var t1id: Int64
|
||||
var name: String
|
||||
}
|
||||
|
||||
private struct T4: Codable, RowConvertible, TableMapping {
|
||||
private struct T4: Codable, FetchableRecord, TableRecord {
|
||||
static let databaseTableName = "t4"
|
||||
var t1id: Int64
|
||||
var name: String
|
||||
}
|
||||
|
||||
private struct T5: Codable, RowConvertible, TableMapping {
|
||||
private struct T5: Codable, FetchableRecord, TableRecord {
|
||||
static let databaseTableName = "t5"
|
||||
var id: Int64
|
||||
var t3id: Int64?
|
||||
@@ -75,7 +75,7 @@ private struct T5: Codable, RowConvertible, TableMapping {
|
||||
var name: String
|
||||
}
|
||||
|
||||
private struct FlatModel: RowConvertible {
|
||||
private struct FlatModel: FetchableRecord {
|
||||
private enum Scopes {
|
||||
static let t1 = "t1"
|
||||
static let t2Left = "t2Left"
|
||||
@@ -115,7 +115,7 @@ private struct FlatModel: RowConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
private struct CodableFlatModel: RowConvertible, Codable {
|
||||
private struct CodableFlatModel: FetchableRecord, Codable {
|
||||
var t1: T1
|
||||
var t2Left: T2?
|
||||
var t2Right: T2?
|
||||
@@ -138,7 +138,7 @@ private struct CodableFlatModel: RowConvertible, Codable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct CodableNestedModel: RowConvertible, Codable {
|
||||
private struct CodableNestedModel: FetchableRecord, Codable {
|
||||
struct T2Pair: Codable {
|
||||
var left: T2?
|
||||
var right: T2?
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@ import XCTest
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
private struct Player: RowConvertible, MutablePersistable, Codable {
|
||||
private struct Player: FetchableRecord, MutablePersistableRecord, Codable {
|
||||
static let databaseTableName = "players"
|
||||
|
||||
var id: Int64?
|
||||
@@ -34,7 +34,7 @@ private struct Player: RowConvertible, MutablePersistable, Codable {
|
||||
}
|
||||
}
|
||||
|
||||
class MutablePersistableChangesTests: GRDBTestCase {
|
||||
class MutablePersistableRecordChangesTests: GRDBTestCase {
|
||||
override func setup(_ dbWriter: DatabaseWriter) throws {
|
||||
try dbWriter.write { db in
|
||||
try db.create(table: "players") { t in
|
||||
@@ -47,7 +47,7 @@ class MutablePersistableChangesTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
func testDegenerateDatabaseEqualWithSelf() throws {
|
||||
struct DegenerateRecord: MutablePersistable {
|
||||
struct DegenerateRecord: MutablePersistableRecord {
|
||||
static let databaseTableName = "ignored"
|
||||
func encode(to container: inout PersistenceContainer) {
|
||||
}
|
||||
@@ -174,7 +174,7 @@ class MutablePersistableChangesTests: GRDBTestCase {
|
||||
|
||||
func testDatabaseEqualWithDifferentTypesAndDifferentWidth() throws {
|
||||
// Mangle column case as well, for fun ;-)
|
||||
struct NarrowPlayer: MutablePersistable, Codable {
|
||||
struct NarrowPlayer: MutablePersistableRecord, Codable {
|
||||
static let databaseTableName = "players"
|
||||
var ID: Int64?
|
||||
var NAME: String?
|
||||
+4
-4
@@ -7,23 +7,23 @@ import XCTest
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
private struct Hacker : MutablePersistable {
|
||||
private struct Hacker : MutablePersistableRecord {
|
||||
static let databaseTableName = "hackers"
|
||||
func encode(to container: inout PersistenceContainer) { preconditionFailure("should not be called") }
|
||||
}
|
||||
|
||||
private struct Person : MutablePersistable {
|
||||
private struct Person : MutablePersistableRecord {
|
||||
static let databaseTableName = "persons"
|
||||
func encode(to container: inout PersistenceContainer) { preconditionFailure("should not be called") }
|
||||
}
|
||||
|
||||
private struct Citizenship : MutablePersistable {
|
||||
private struct Citizenship : MutablePersistableRecord {
|
||||
static let databaseTableName = "citizenships"
|
||||
func encode(to container: inout PersistenceContainer) { preconditionFailure("should not be called") }
|
||||
}
|
||||
|
||||
|
||||
class MutablePersistableDeleteTests: GRDBTestCase {
|
||||
class MutablePersistableRecordDeleteTests: GRDBTestCase {
|
||||
|
||||
override func setup(_ dbWriter: DatabaseWriter) throws {
|
||||
try dbWriter.write { db in
|
||||
+20
-20
@@ -8,14 +8,14 @@ import Foundation
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
class MutablePersistableEncodableTests: GRDBTestCase { }
|
||||
class MutablePersistableRecordEncodableTests: GRDBTestCase { }
|
||||
|
||||
// MARK: - MutablePersistable conformance derived from Encodable
|
||||
// MARK: - MutablePersistableRecord conformance derived from Encodable
|
||||
|
||||
extension MutablePersistableEncodableTests {
|
||||
extension MutablePersistableRecordEncodableTests {
|
||||
|
||||
func testTrivialEncodable() throws {
|
||||
struct Struct : MutablePersistable, Encodable {
|
||||
struct Struct : MutablePersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let value: String
|
||||
}
|
||||
@@ -36,7 +36,7 @@ extension MutablePersistableEncodableTests {
|
||||
}
|
||||
|
||||
func testCustomEncodable() throws {
|
||||
struct Struct : MutablePersistable, Encodable {
|
||||
struct Struct : MutablePersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let value: String
|
||||
|
||||
@@ -65,13 +65,13 @@ extension MutablePersistableEncodableTests {
|
||||
}
|
||||
}
|
||||
|
||||
func testCustomMutablePersistable() throws {
|
||||
struct Struct : MutablePersistable, Encodable {
|
||||
func testCustomMutablePersistableRecord() throws {
|
||||
struct Struct : MutablePersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let value: String
|
||||
|
||||
func encode(to container: inout PersistenceContainer) {
|
||||
container["value"] = value + " (MutablePersistable)"
|
||||
container["value"] = value + " (MutablePersistableRecord)"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,21 +82,21 @@ extension MutablePersistableEncodableTests {
|
||||
}
|
||||
|
||||
var value = Struct(value: "foo")
|
||||
assert(value, isEncodedIn: ["value": "foo (MutablePersistable)"])
|
||||
assert(value, isEncodedIn: ["value": "foo (MutablePersistableRecord)"])
|
||||
|
||||
try value.insert(db)
|
||||
let string = try String.fetchOne(db, "SELECT value FROM t1")!
|
||||
XCTAssertEqual(string, "foo (MutablePersistable)")
|
||||
XCTAssertEqual(string, "foo (MutablePersistableRecord)")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Different kinds of single-value properties
|
||||
|
||||
extension MutablePersistableEncodableTests {
|
||||
extension MutablePersistableRecordEncodableTests {
|
||||
|
||||
func testTrivialProperty() throws {
|
||||
struct Struct : MutablePersistable, Encodable {
|
||||
struct Struct : MutablePersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let int64: Int64
|
||||
let optionalInt64: Int64?
|
||||
@@ -141,7 +141,7 @@ extension MutablePersistableEncodableTests {
|
||||
}
|
||||
}
|
||||
|
||||
struct Struct : MutablePersistable, Encodable {
|
||||
struct Struct : MutablePersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let value: Value
|
||||
let optionalValue: Value?
|
||||
@@ -195,7 +195,7 @@ extension MutablePersistableEncodableTests {
|
||||
}
|
||||
}
|
||||
|
||||
struct Struct : MutablePersistable, Encodable {
|
||||
struct Struct : MutablePersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let value: Value
|
||||
let optionalValue: Value?
|
||||
@@ -240,7 +240,7 @@ extension MutablePersistableEncodableTests {
|
||||
case foo, bar
|
||||
}
|
||||
|
||||
struct Struct : MutablePersistable, Encodable {
|
||||
struct Struct : MutablePersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let value: Value
|
||||
let optionalValue: Value?
|
||||
@@ -303,7 +303,7 @@ extension MutablePersistableEncodableTests {
|
||||
}
|
||||
}
|
||||
|
||||
struct Struct : MutablePersistable, Encodable {
|
||||
struct Struct : MutablePersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let value: Value
|
||||
let optionalValue: Value?
|
||||
@@ -341,10 +341,10 @@ extension MutablePersistableEncodableTests {
|
||||
|
||||
// MARK: - Foundation Codable Types
|
||||
|
||||
extension MutablePersistableEncodableTests {
|
||||
extension MutablePersistableRecordEncodableTests {
|
||||
|
||||
func testStructWithDate() throws {
|
||||
struct StructWithDate : Persistable, Encodable {
|
||||
struct StructWithDate : PersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let date: Date
|
||||
}
|
||||
@@ -371,7 +371,7 @@ extension MutablePersistableEncodableTests {
|
||||
}
|
||||
|
||||
func testStructWithURL() throws {
|
||||
struct StructWithURL : Persistable, Encodable {
|
||||
struct StructWithURL : PersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let url: URL
|
||||
}
|
||||
@@ -394,7 +394,7 @@ extension MutablePersistableEncodableTests {
|
||||
}
|
||||
|
||||
func testStructWithUUID() throws {
|
||||
struct StructWithUUID : Persistable, Encodable {
|
||||
struct StructWithUUID : PersistableRecord, Encodable {
|
||||
static let databaseTableName = "t1"
|
||||
let uuid: UUID
|
||||
}
|
||||
+8
-8
@@ -7,7 +7,7 @@ import XCTest
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
private struct DefaultPolicy: MutablePersistable {
|
||||
private struct DefaultPolicy: MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
|
||||
static let databaseTableName = "records"
|
||||
@@ -21,7 +21,7 @@ private struct DefaultPolicy: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct MixedPolicy: MutablePersistable {
|
||||
private struct MixedPolicy: MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
|
||||
static let databaseTableName = "records"
|
||||
@@ -36,7 +36,7 @@ private struct MixedPolicy: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct ReplacePolicy: MutablePersistable {
|
||||
private struct ReplacePolicy: MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
var email: String
|
||||
|
||||
@@ -53,7 +53,7 @@ private struct ReplacePolicy: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct IgnorePolicy: MutablePersistable {
|
||||
private struct IgnorePolicy: MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
|
||||
static let databaseTableName = "records"
|
||||
@@ -68,7 +68,7 @@ private struct IgnorePolicy: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct FailPolicy: MutablePersistable {
|
||||
private struct FailPolicy: MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
|
||||
static let databaseTableName = "records"
|
||||
@@ -83,7 +83,7 @@ private struct FailPolicy: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct AbortPolicy: MutablePersistable {
|
||||
private struct AbortPolicy: MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
|
||||
static let databaseTableName = "records"
|
||||
@@ -98,7 +98,7 @@ private struct AbortPolicy: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct RollbackPolicy: MutablePersistable {
|
||||
private struct RollbackPolicy: MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
|
||||
static let databaseTableName = "records"
|
||||
@@ -113,7 +113,7 @@ private struct RollbackPolicy: MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
class MutablePersistablePersistenceConflictPolicyTests: GRDBTestCase {
|
||||
class MutablePersistableRecordPersistenceConflictPolicyTests: GRDBTestCase {
|
||||
|
||||
func testPolicyDefaultArguments() {
|
||||
let policy = PersistenceConflictPolicy()
|
||||
+52
-52
@@ -7,7 +7,7 @@ import XCTest
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
private struct MutablePersistablePerson : MutablePersistable {
|
||||
private struct MutablePersistableRecordPerson : MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
var name: String?
|
||||
var age: Int?
|
||||
@@ -26,7 +26,7 @@ private struct MutablePersistablePerson : MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct MutablePersistableCountry : MutablePersistable {
|
||||
private struct MutablePersistableRecordCountry : MutablePersistableRecord {
|
||||
var rowID: Int64?
|
||||
var isoCode: String
|
||||
var name: String
|
||||
@@ -43,7 +43,7 @@ private struct MutablePersistableCountry : MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct MutablePersistableCustomizedCountry : MutablePersistable {
|
||||
private struct MutablePersistableRecordCustomizedCountry : MutablePersistableRecord {
|
||||
var rowID: Int64?
|
||||
var isoCode: String
|
||||
var name: String
|
||||
@@ -90,7 +90,7 @@ private struct MutablePersistableCustomizedCountry : MutablePersistable {
|
||||
}
|
||||
}
|
||||
|
||||
class MutablePersistableTests: GRDBTestCase {
|
||||
class MutablePersistableRecordTests: GRDBTestCase {
|
||||
|
||||
override func setup(_ dbWriter: DatabaseWriter) throws {
|
||||
var migrator = DatabaseMigrator()
|
||||
@@ -109,12 +109,12 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
|
||||
// MARK: - MutablePersistablePerson
|
||||
// MARK: - MutablePersistableRecordPerson
|
||||
|
||||
func testInsertMutablePersistablePerson() throws {
|
||||
func testInsertMutablePersistableRecordPerson() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var person = MutablePersistablePerson(id: nil, name: "Arthur", age: 24)
|
||||
var person = MutablePersistableRecordPerson(id: nil, name: "Arthur", age: 24)
|
||||
try person.insert(db)
|
||||
|
||||
let rows = try Row.fetchAll(db, "SELECT * FROM persons")
|
||||
@@ -124,12 +124,12 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testUpdateMutablePersistablePerson() throws {
|
||||
func testUpdateMutablePersistableRecordPerson() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var person1 = MutablePersistablePerson(id: nil, name: "Arthur", age: 24)
|
||||
var person1 = MutablePersistableRecordPerson(id: nil, name: "Arthur", age: 24)
|
||||
try person1.insert(db)
|
||||
var person2 = MutablePersistablePerson(id: nil, name: "Barbara", age: 24)
|
||||
var person2 = MutablePersistableRecordPerson(id: nil, name: "Barbara", age: 24)
|
||||
try person2.insert(db)
|
||||
|
||||
person1.name = "Craig"
|
||||
@@ -148,12 +148,12 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testPartialUpdateMutablePersistablePerson() throws {
|
||||
func testPartialUpdateMutablePersistableRecordPerson() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var person1 = MutablePersistablePerson(id: nil, name: "Arthur", age: 24)
|
||||
var person1 = MutablePersistableRecordPerson(id: nil, name: "Arthur", age: 24)
|
||||
try person1.insert(db)
|
||||
var person2 = MutablePersistablePerson(id: nil, name: "Barbara", age: 36)
|
||||
var person2 = MutablePersistableRecordPerson(id: nil, name: "Barbara", age: 36)
|
||||
try person2.insert(db)
|
||||
|
||||
do {
|
||||
@@ -204,10 +204,10 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testSaveMutablePersistablePerson() throws {
|
||||
func testSaveMutablePersistableRecordPerson() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var person1 = MutablePersistablePerson(id: nil, name: "Arthur", age: 24)
|
||||
var person1 = MutablePersistableRecordPerson(id: nil, name: "Arthur", age: 24)
|
||||
try person1.save(db)
|
||||
|
||||
var rows = try Row.fetchAll(db, "SELECT * FROM persons")
|
||||
@@ -215,7 +215,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
XCTAssertEqual(rows[0]["id"] as Int64, person1.id!)
|
||||
XCTAssertEqual(rows[0]["name"] as String, "Arthur")
|
||||
|
||||
var person2 = MutablePersistablePerson(id: nil, name: "Barbara", age: 24)
|
||||
var person2 = MutablePersistableRecordPerson(id: nil, name: "Barbara", age: 24)
|
||||
try person2.save(db)
|
||||
|
||||
person1.name = "Craig"
|
||||
@@ -240,12 +240,12 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testDeleteMutablePersistablePerson() throws {
|
||||
func testDeleteMutablePersistableRecordPerson() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var person1 = MutablePersistablePerson(id: nil, name: "Arthur", age: 24)
|
||||
var person1 = MutablePersistableRecordPerson(id: nil, name: "Arthur", age: 24)
|
||||
try person1.insert(db)
|
||||
var person2 = MutablePersistablePerson(id: nil, name: "Barbara", age: 24)
|
||||
var person2 = MutablePersistableRecordPerson(id: nil, name: "Barbara", age: 24)
|
||||
try person2.insert(db)
|
||||
|
||||
var deleted = try person1.delete(db)
|
||||
@@ -260,10 +260,10 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testExistsMutablePersistablePerson() throws {
|
||||
func testExistsMutablePersistableRecordPerson() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var person = MutablePersistablePerson(id: nil, name: "Arthur", age: 24)
|
||||
var person = MutablePersistableRecordPerson(id: nil, name: "Arthur", age: 24)
|
||||
try person.insert(db)
|
||||
XCTAssertTrue(try person.exists(db))
|
||||
|
||||
@@ -272,18 +272,18 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testMutablePersistablePersonDatabaseDictionary() {
|
||||
let person = MutablePersistablePerson(id: nil, name: "Arthur", age: 24)
|
||||
func testMutablePersistableRecordPersonDatabaseDictionary() {
|
||||
let person = MutablePersistableRecordPerson(id: nil, name: "Arthur", age: 24)
|
||||
let dict = person.databaseDictionary
|
||||
XCTAssertEqual(dict, ["iD": DatabaseValue.null, "NAme": "Arthur".databaseValue, "aGe": 24.databaseValue])
|
||||
}
|
||||
|
||||
// MARK: - MutablePersistableCountry
|
||||
// MARK: - MutablePersistableRecordCountry
|
||||
|
||||
func testInsertMutablePersistableCountry() throws {
|
||||
func testInsertMutablePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var country = MutablePersistableCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
var country = MutablePersistableRecordCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
try country.insert(db)
|
||||
|
||||
let rows = try Row.fetchAll(db, "SELECT rowID, * FROM countries")
|
||||
@@ -293,12 +293,12 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testUpdateMutablePersistableCountry() throws {
|
||||
func testUpdateMutablePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var country1 = MutablePersistableCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
var country1 = MutablePersistableRecordCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
try country1.insert(db)
|
||||
var country2 = MutablePersistableCountry(rowID: nil, isoCode: "US", name: "United States")
|
||||
var country2 = MutablePersistableRecordCountry(rowID: nil, isoCode: "US", name: "United States")
|
||||
try country2.insert(db)
|
||||
|
||||
country1.name = "France Métropolitaine"
|
||||
@@ -314,10 +314,10 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testSaveMutablePersistableCountry() throws {
|
||||
func testSaveMutablePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var country1 = MutablePersistableCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
var country1 = MutablePersistableRecordCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
try country1.save(db)
|
||||
|
||||
var rows = try Row.fetchAll(db, "SELECT rowID, * FROM countries")
|
||||
@@ -325,7 +325,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
XCTAssertEqual(rows[0]["rowID"] as Int64, country1.rowID!)
|
||||
XCTAssertEqual(rows[0]["name"] as String, "France")
|
||||
|
||||
var country2 = MutablePersistableCountry(rowID: nil, isoCode: "US", name: "United States")
|
||||
var country2 = MutablePersistableRecordCountry(rowID: nil, isoCode: "US", name: "United States")
|
||||
try country2.save(db)
|
||||
|
||||
country1.name = "France Métropolitaine"
|
||||
@@ -350,12 +350,12 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testDeleteMutablePersistableCountry() throws {
|
||||
func testDeleteMutablePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var country1 = MutablePersistableCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
var country1 = MutablePersistableRecordCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
try country1.insert(db)
|
||||
var country2 = MutablePersistableCountry(rowID: nil, isoCode: "US", name: "United States")
|
||||
var country2 = MutablePersistableRecordCountry(rowID: nil, isoCode: "US", name: "United States")
|
||||
try country2.insert(db)
|
||||
|
||||
var deleted = try country1.delete(db)
|
||||
@@ -370,10 +370,10 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testExistsMutablePersistableCountry() throws {
|
||||
func testExistsMutablePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var country = MutablePersistableCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
var country = MutablePersistableRecordCountry(rowID: nil, isoCode: "FR", name: "France")
|
||||
try country.insert(db)
|
||||
XCTAssertTrue(try country.exists(db))
|
||||
|
||||
@@ -383,9 +383,9 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
|
||||
// MARK: - MutablePersistableCustomizedCountry
|
||||
// MARK: - MutablePersistableRecordCustomizedCountry
|
||||
|
||||
func testInsertMutablePersistableCustomizedCountry() throws {
|
||||
func testInsertMutablePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -393,7 +393,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
var country = MutablePersistableCustomizedCountry(
|
||||
var country = MutablePersistableRecordCustomizedCountry(
|
||||
rowID: nil,
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
@@ -417,7 +417,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testUpdateMutablePersistableCustomizedCountry() throws {
|
||||
func testUpdateMutablePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -425,7 +425,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
var country1 = MutablePersistableCustomizedCountry(
|
||||
var country1 = MutablePersistableRecordCustomizedCountry(
|
||||
rowID: nil,
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
@@ -435,7 +435,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
willDelete: { deleteCount += 1 },
|
||||
willExists: { existsCount += 1 })
|
||||
try country1.insert(db)
|
||||
var country2 = MutablePersistableCustomizedCountry(
|
||||
var country2 = MutablePersistableRecordCustomizedCountry(
|
||||
rowID: nil,
|
||||
isoCode: "US",
|
||||
name: "United States",
|
||||
@@ -465,7 +465,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testSaveMutablePersistableCustomizedCountry() throws {
|
||||
func testSaveMutablePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -473,7 +473,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
var country1 = MutablePersistableCustomizedCountry(
|
||||
var country1 = MutablePersistableRecordCustomizedCountry(
|
||||
rowID: nil,
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
@@ -495,7 +495,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
XCTAssertEqual(rows[0]["rowID"] as Int64, country1.rowID!)
|
||||
XCTAssertEqual(rows[0]["name"] as String, "France")
|
||||
|
||||
var country2 = MutablePersistableCustomizedCountry(
|
||||
var country2 = MutablePersistableRecordCustomizedCountry(
|
||||
rowID: nil,
|
||||
isoCode: "US",
|
||||
name: "United States",
|
||||
@@ -540,7 +540,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testDeleteMutablePersistableCustomizedCountry() throws {
|
||||
func testDeleteMutablePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -548,7 +548,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
var country1 = MutablePersistableCustomizedCountry(
|
||||
var country1 = MutablePersistableRecordCustomizedCountry(
|
||||
rowID: nil,
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
@@ -558,7 +558,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
willDelete: { deleteCount += 1 },
|
||||
willExists: { existsCount += 1 })
|
||||
try country1.insert(db)
|
||||
var country2 = MutablePersistableCustomizedCountry(
|
||||
var country2 = MutablePersistableRecordCustomizedCountry(
|
||||
rowID: nil,
|
||||
isoCode: "US",
|
||||
name: "United States",
|
||||
@@ -587,7 +587,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testExistsMutablePersistableCustomizedCountry() throws {
|
||||
func testExistsMutablePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -595,7 +595,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
var country = MutablePersistableCustomizedCountry(
|
||||
var country = MutablePersistableRecordCustomizedCountry(
|
||||
rowID: nil,
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
@@ -627,7 +627,7 @@ class MutablePersistableTests: GRDBTestCase {
|
||||
// MARK: - Misc
|
||||
|
||||
func testPartiallyEncodedRecord() throws {
|
||||
struct PartialRecord : MutablePersistable {
|
||||
struct PartialRecord : MutablePersistableRecord {
|
||||
var id: Int64?
|
||||
var a: String
|
||||
|
||||
+64
-64
@@ -7,7 +7,7 @@ import XCTest
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
private struct PersistablePerson : Persistable {
|
||||
private struct PersistableRecordPerson : PersistableRecord {
|
||||
var name: String?
|
||||
var age: Int?
|
||||
|
||||
@@ -19,7 +19,7 @@ private struct PersistablePerson : Persistable {
|
||||
}
|
||||
}
|
||||
|
||||
private class PersistablePersonClass : Persistable {
|
||||
private class PersistableRecordPersonClass : PersistableRecord {
|
||||
var id: Int64?
|
||||
var name: String?
|
||||
var age: Int?
|
||||
@@ -44,7 +44,7 @@ private class PersistablePersonClass : Persistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct PersistableCountry : Persistable {
|
||||
private struct PersistableRecordCountry : PersistableRecord {
|
||||
var isoCode: String
|
||||
var name: String
|
||||
|
||||
@@ -56,7 +56,7 @@ private struct PersistableCountry : Persistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct PersistableCustomizedCountry : Persistable {
|
||||
private struct PersistableRecordCustomizedCountry : PersistableRecord {
|
||||
var isoCode: String
|
||||
var name: String
|
||||
let willInsert: () -> Void
|
||||
@@ -98,7 +98,7 @@ private struct PersistableCustomizedCountry : Persistable {
|
||||
}
|
||||
}
|
||||
|
||||
private struct Citizenship : Persistable {
|
||||
private struct Citizenship : PersistableRecord {
|
||||
let personID: Int64
|
||||
let countryIsoCode: String
|
||||
|
||||
@@ -110,7 +110,7 @@ private struct Citizenship : Persistable {
|
||||
}
|
||||
}
|
||||
|
||||
class PersistableTests: GRDBTestCase {
|
||||
class PersistableRecordTests: GRDBTestCase {
|
||||
|
||||
override func setup(_ dbWriter: DatabaseWriter) throws {
|
||||
var migrator = DatabaseMigrator()
|
||||
@@ -132,12 +132,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
|
||||
// MARK: - PersistablePerson
|
||||
// MARK: - PersistableRecordPerson
|
||||
|
||||
func testInsertPersistablePerson() throws {
|
||||
func testInsertPersistableRecordPerson() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person = PersistablePerson(name: "Arthur", age: 42)
|
||||
let person = PersistableRecordPerson(name: "Arthur", age: 42)
|
||||
try person.insert(db)
|
||||
|
||||
let rows = try Row.fetchAll(db, "SELECT * FROM persons")
|
||||
@@ -146,10 +146,10 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testSavePersistablePerson() throws {
|
||||
func testSavePersistableRecordPerson() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person = PersistablePerson(name: "Arthur", age: 42)
|
||||
let person = PersistableRecordPerson(name: "Arthur", age: 42)
|
||||
try person.save(db)
|
||||
|
||||
let rows = try Row.fetchAll(db, "SELECT * FROM persons")
|
||||
@@ -159,12 +159,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
|
||||
// MARK: - PersistablePersonClass
|
||||
// MARK: - PersistableRecordPersonClass
|
||||
|
||||
func testInsertPersistablePersonClass() throws {
|
||||
func testInsertPersistableRecordPersonClass() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person = PersistablePersonClass(id: nil, name: "Arthur", age: 42)
|
||||
let person = PersistableRecordPersonClass(id: nil, name: "Arthur", age: 42)
|
||||
try person.insert(db)
|
||||
|
||||
let rows = try Row.fetchAll(db, "SELECT * FROM persons")
|
||||
@@ -174,12 +174,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testUpdatePersistablePersonClass() throws {
|
||||
func testUpdatePersistableRecordPersonClass() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person1 = PersistablePersonClass(id: nil, name: "Arthur", age: 42)
|
||||
let person1 = PersistableRecordPersonClass(id: nil, name: "Arthur", age: 42)
|
||||
try person1.insert(db)
|
||||
let person2 = PersistablePersonClass(id: nil, name: "Barbara", age: 39)
|
||||
let person2 = PersistableRecordPersonClass(id: nil, name: "Barbara", age: 39)
|
||||
try person2.insert(db)
|
||||
|
||||
person1.name = "Craig"
|
||||
@@ -198,12 +198,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testPartialUpdatePersistablePersonClass() throws {
|
||||
func testPartialUpdatePersistableRecordPersonClass() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person1 = PersistablePersonClass(id: nil, name: "Arthur", age: 24)
|
||||
let person1 = PersistableRecordPersonClass(id: nil, name: "Arthur", age: 24)
|
||||
try person1.insert(db)
|
||||
let person2 = PersistablePersonClass(id: nil, name: "Barbara", age: 36)
|
||||
let person2 = PersistableRecordPersonClass(id: nil, name: "Barbara", age: 36)
|
||||
try person2.insert(db)
|
||||
|
||||
do {
|
||||
@@ -254,10 +254,10 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testSavePersistablePersonClass() throws {
|
||||
func testSavePersistableRecordPersonClass() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person1 = PersistablePersonClass(id: nil, name: "Arthur", age: 42)
|
||||
let person1 = PersistableRecordPersonClass(id: nil, name: "Arthur", age: 42)
|
||||
try person1.save(db)
|
||||
|
||||
var rows = try Row.fetchAll(db, "SELECT * FROM persons")
|
||||
@@ -265,7 +265,7 @@ class PersistableTests: GRDBTestCase {
|
||||
XCTAssertEqual(rows[0]["id"] as Int64, person1.id!)
|
||||
XCTAssertEqual(rows[0]["name"] as String, "Arthur")
|
||||
|
||||
let person2 = PersistablePersonClass(id: nil, name: "Barbara", age: 39)
|
||||
let person2 = PersistableRecordPersonClass(id: nil, name: "Barbara", age: 39)
|
||||
try person2.save(db)
|
||||
|
||||
person1.name = "Craig"
|
||||
@@ -290,12 +290,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testDeletePersistablePersonClass() throws {
|
||||
func testDeletePersistableRecordPersonClass() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person1 = PersistablePersonClass(id: nil, name: "Arthur", age: 42)
|
||||
let person1 = PersistableRecordPersonClass(id: nil, name: "Arthur", age: 42)
|
||||
try person1.insert(db)
|
||||
let person2 = PersistablePersonClass(id: nil, name: "Barbara", age: 39)
|
||||
let person2 = PersistableRecordPersonClass(id: nil, name: "Barbara", age: 39)
|
||||
try person2.insert(db)
|
||||
|
||||
var deleted = try person1.delete(db)
|
||||
@@ -310,10 +310,10 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testExistsPersistablePersonClass() throws {
|
||||
func testExistsPersistableRecordPersonClass() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person = PersistablePersonClass(id: nil, name: "Arthur", age: 42)
|
||||
let person = PersistableRecordPersonClass(id: nil, name: "Arthur", age: 42)
|
||||
try person.insert(db)
|
||||
XCTAssertTrue(try person.exists(db))
|
||||
|
||||
@@ -323,12 +323,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
|
||||
// MARK: - PersistableCountry
|
||||
// MARK: - PersistableRecordCountry
|
||||
|
||||
func testInsertPersistableCountry() throws {
|
||||
func testInsertPersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let country = PersistableCountry(isoCode: "FR", name: "France")
|
||||
let country = PersistableRecordCountry(isoCode: "FR", name: "France")
|
||||
try country.insert(db)
|
||||
|
||||
let rows = try Row.fetchAll(db, "SELECT * FROM countries")
|
||||
@@ -338,12 +338,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testUpdatePersistableCountry() throws {
|
||||
func testUpdatePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var country1 = PersistableCountry(isoCode: "FR", name: "France")
|
||||
var country1 = PersistableRecordCountry(isoCode: "FR", name: "France")
|
||||
try country1.insert(db)
|
||||
let country2 = PersistableCountry(isoCode: "US", name: "United States")
|
||||
let country2 = PersistableRecordCountry(isoCode: "US", name: "United States")
|
||||
try country2.insert(db)
|
||||
|
||||
country1.name = "France Métropolitaine"
|
||||
@@ -359,12 +359,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testPartialUpdatePersistableCountry() throws {
|
||||
func testPartialUpdatePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var country1 = PersistableCountry(isoCode: "FR", name: "France")
|
||||
var country1 = PersistableRecordCountry(isoCode: "FR", name: "France")
|
||||
try country1.insert(db)
|
||||
let country2 = PersistableCountry(isoCode: "US", name: "United States")
|
||||
let country2 = PersistableRecordCountry(isoCode: "US", name: "United States")
|
||||
try country2.insert(db)
|
||||
|
||||
do {
|
||||
@@ -395,10 +395,10 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testSavePersistableCountry() throws {
|
||||
func testSavePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var country1 = PersistableCountry(isoCode: "FR", name: "France")
|
||||
var country1 = PersistableRecordCountry(isoCode: "FR", name: "France")
|
||||
try country1.save(db)
|
||||
|
||||
var rows = try Row.fetchAll(db, "SELECT * FROM countries")
|
||||
@@ -406,7 +406,7 @@ class PersistableTests: GRDBTestCase {
|
||||
XCTAssertEqual(rows[0]["isoCode"] as String, "FR")
|
||||
XCTAssertEqual(rows[0]["name"] as String, "France")
|
||||
|
||||
let country2 = PersistableCountry(isoCode: "US", name: "United States")
|
||||
let country2 = PersistableRecordCountry(isoCode: "US", name: "United States")
|
||||
try country2.save(db)
|
||||
|
||||
country1.name = "France Métropolitaine"
|
||||
@@ -431,12 +431,12 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testDeletePersistableCountry() throws {
|
||||
func testDeletePersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let country1 = PersistableCountry(isoCode: "FR", name: "France")
|
||||
let country1 = PersistableRecordCountry(isoCode: "FR", name: "France")
|
||||
try country1.insert(db)
|
||||
let country2 = PersistableCountry(isoCode: "US", name: "United States")
|
||||
let country2 = PersistableRecordCountry(isoCode: "US", name: "United States")
|
||||
try country2.insert(db)
|
||||
|
||||
var deleted = try country1.delete(db)
|
||||
@@ -451,10 +451,10 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testExistsPersistableCountry() throws {
|
||||
func testExistsPersistableRecordCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let country = PersistableCountry(isoCode: "FR", name: "France")
|
||||
let country = PersistableRecordCountry(isoCode: "FR", name: "France")
|
||||
try country.insert(db)
|
||||
XCTAssertTrue(try country.exists(db))
|
||||
|
||||
@@ -464,9 +464,9 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
|
||||
// MARK: - PersistableCustomizedCountry
|
||||
// MARK: - PersistableRecordCustomizedCountry
|
||||
|
||||
func testInsertPersistableCustomizedCountry() throws {
|
||||
func testInsertPersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -474,7 +474,7 @@ class PersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
let country = PersistableCustomizedCountry(
|
||||
let country = PersistableRecordCustomizedCountry(
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
willInsert: { insertCount += 1 },
|
||||
@@ -497,7 +497,7 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testUpdatePersistableCustomizedCountry() throws {
|
||||
func testUpdatePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -505,7 +505,7 @@ class PersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
var country1 = PersistableCustomizedCountry(
|
||||
var country1 = PersistableRecordCustomizedCountry(
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
willInsert: { insertCount += 1 },
|
||||
@@ -514,7 +514,7 @@ class PersistableTests: GRDBTestCase {
|
||||
willDelete: { deleteCount += 1 },
|
||||
willExists: { existsCount += 1 })
|
||||
try country1.insert(db)
|
||||
let country2 = PersistableCustomizedCountry(
|
||||
let country2 = PersistableRecordCustomizedCountry(
|
||||
isoCode: "US",
|
||||
name: "United States",
|
||||
willInsert: { },
|
||||
@@ -543,7 +543,7 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testPartialUpdatePersistableCustomizedCountry() throws {
|
||||
func testPartialUpdatePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -551,7 +551,7 @@ class PersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
var country1 = PersistableCustomizedCountry(
|
||||
var country1 = PersistableRecordCustomizedCountry(
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
willInsert: { insertCount += 1 },
|
||||
@@ -560,7 +560,7 @@ class PersistableTests: GRDBTestCase {
|
||||
willDelete: { deleteCount += 1 },
|
||||
willExists: { existsCount += 1 })
|
||||
try country1.insert(db)
|
||||
let country2 = PersistableCustomizedCountry(
|
||||
let country2 = PersistableRecordCustomizedCountry(
|
||||
isoCode: "US",
|
||||
name: "United States",
|
||||
willInsert: { },
|
||||
@@ -589,7 +589,7 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testSavePersistableCustomizedCountry() throws {
|
||||
func testSavePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -597,7 +597,7 @@ class PersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
var country1 = PersistableCustomizedCountry(
|
||||
var country1 = PersistableRecordCustomizedCountry(
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
willInsert: { insertCount += 1 },
|
||||
@@ -618,7 +618,7 @@ class PersistableTests: GRDBTestCase {
|
||||
XCTAssertEqual(rows[0]["isoCode"] as String, "FR")
|
||||
XCTAssertEqual(rows[0]["name"] as String, "France")
|
||||
|
||||
let country2 = PersistableCustomizedCountry(
|
||||
let country2 = PersistableRecordCustomizedCountry(
|
||||
isoCode: "US",
|
||||
name: "United States",
|
||||
willInsert: { },
|
||||
@@ -662,7 +662,7 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testDeletePersistableCustomizedCountry() throws {
|
||||
func testDeletePersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -670,7 +670,7 @@ class PersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
let country1 = PersistableCustomizedCountry(
|
||||
let country1 = PersistableRecordCustomizedCountry(
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
willInsert: { insertCount += 1 },
|
||||
@@ -679,7 +679,7 @@ class PersistableTests: GRDBTestCase {
|
||||
willDelete: { deleteCount += 1 },
|
||||
willExists: { existsCount += 1 })
|
||||
try country1.insert(db)
|
||||
let country2 = PersistableCustomizedCountry(
|
||||
let country2 = PersistableRecordCustomizedCountry(
|
||||
isoCode: "US",
|
||||
name: "United States",
|
||||
willInsert: { },
|
||||
@@ -707,7 +707,7 @@ class PersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testExistsPersistableCustomizedCountry() throws {
|
||||
func testExistsPersistableRecordCustomizedCountry() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
var insertCount: Int = 0
|
||||
@@ -715,7 +715,7 @@ class PersistableTests: GRDBTestCase {
|
||||
var saveCount: Int = 0
|
||||
var deleteCount: Int = 0
|
||||
var existsCount: Int = 0
|
||||
let country = PersistableCustomizedCountry(
|
||||
let country = PersistableRecordCustomizedCountry(
|
||||
isoCode: "FR",
|
||||
name: "France",
|
||||
willInsert: { insertCount += 1 },
|
||||
@@ -749,9 +749,9 @@ class PersistableTests: GRDBTestCase {
|
||||
func testInsertErrorDoesNotPreventSubsequentInserts() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
let person = PersistablePersonClass(id: nil, name: "Arthur", age: 12)
|
||||
let person = PersistableRecordPersonClass(id: nil, name: "Arthur", age: 12)
|
||||
try person.insert(db)
|
||||
try PersistableCountry(isoCode: "FR", name: "France").insert(db)
|
||||
try PersistableRecordCountry(isoCode: "FR", name: "France").insert(db)
|
||||
do {
|
||||
try Citizenship(personID: person.id!, countryIsoCode: "US").insert(db)
|
||||
} catch let error as DatabaseError {
|
||||
@@ -14,7 +14,7 @@ private struct Col {
|
||||
static let readerId = Column("readerId")
|
||||
}
|
||||
|
||||
private struct Reader : TableMapping {
|
||||
private struct Reader : TableRecord {
|
||||
static let databaseTableName = "readers"
|
||||
}
|
||||
private let tableRequest = Reader.all()
|
||||
|
||||
@@ -60,7 +60,7 @@ class QueryInterfaceExtensibilityTests: GRDBTestCase {
|
||||
try db.create(table: "records") { t in
|
||||
t.column("date", .datetime)
|
||||
}
|
||||
struct Record : TableMapping {
|
||||
struct Record : TableRecord {
|
||||
static let databaseTableName = "records"
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ class QueryInterfaceExtensibilityTests: GRDBTestCase {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE VIRTUAL TABLE records USING fts3(content TEXT)")
|
||||
struct Record : TableMapping {
|
||||
struct Record : TableRecord {
|
||||
static let databaseTableName = "records"
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ class QueryInterfaceExtensibilityTests: GRDBTestCase {
|
||||
try db.create(table: "records") { t in
|
||||
t.column("text", .text)
|
||||
}
|
||||
struct Record : TableMapping {
|
||||
struct Record : TableRecord {
|
||||
static let databaseTableName = "records"
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ private struct Col {
|
||||
static let readerId = Column("readerId")
|
||||
}
|
||||
|
||||
private struct Reader : TableMapping {
|
||||
private struct Reader : TableRecord {
|
||||
static let databaseTableName = "readers"
|
||||
}
|
||||
private let tableRequest = Reader.all()
|
||||
|
||||
@@ -10,7 +10,7 @@ import XCTest
|
||||
typealias RecordBox = GRDB.RecordBox // Single deprecation warning
|
||||
#endif
|
||||
|
||||
private struct Player: RowConvertible, MutablePersistable, Codable {
|
||||
private struct Player: FetchableRecord, MutablePersistableRecord, Codable {
|
||||
static let databaseTableName = "players"
|
||||
|
||||
var id: Int64?
|
||||
|
||||
@@ -20,14 +20,14 @@ class RecordPersistenceConflictPolicyTests: GRDBTestCase {
|
||||
|
||||
func testDefaultPersistenceConflictPolicy() {
|
||||
let record = RecordWithoutPersistenceConflictPolicy()
|
||||
let policy = type(of: record as MutablePersistable).persistenceConflictPolicy
|
||||
let policy = type(of: record as MutablePersistableRecord).persistenceConflictPolicy
|
||||
XCTAssertEqual(policy.conflictResolutionForInsert, .abort)
|
||||
XCTAssertEqual(policy.conflictResolutionForUpdate, .abort)
|
||||
}
|
||||
|
||||
func testConfigurablePersistenceConflictPolicy() {
|
||||
let record = RecordWithPersistenceConflictPolicy()
|
||||
let policy = type(of: record as MutablePersistable).persistenceConflictPolicy
|
||||
let policy = type(of: record as MutablePersistableRecord).persistenceConflictPolicy
|
||||
XCTAssertEqual(policy.conflictResolutionForInsert, .fail)
|
||||
XCTAssertEqual(policy.conflictResolutionForUpdate, .ignore)
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import XCTest
|
||||
@testable import GRDB
|
||||
#endif
|
||||
|
||||
private struct Person : RowConvertible, TableMapping {
|
||||
private struct Person : FetchableRecord, TableRecord {
|
||||
static let databaseTableName = "persons"
|
||||
init(row: Row) {
|
||||
}
|
||||
|
||||
+2
-2
@@ -14,12 +14,12 @@ private struct Col {
|
||||
static let readerId = Column("readerId")
|
||||
}
|
||||
|
||||
private struct Reader : TableMapping {
|
||||
private struct Reader : TableRecord {
|
||||
static let databaseTableName = "readers"
|
||||
}
|
||||
|
||||
|
||||
class TableMappingQueryInterfaceRequestTests: GRDBTestCase {
|
||||
class TableRecordQueryInterfaceRequestTests: GRDBTestCase {
|
||||
|
||||
override func setup(_ dbWriter: DatabaseWriter) throws {
|
||||
var migrator = DatabaseMigrator()
|
||||
@@ -7,10 +7,10 @@ import XCTest
|
||||
import GRDB
|
||||
#endif
|
||||
|
||||
class TableMappingTests: GRDBTestCase {
|
||||
class TableRecordTests: GRDBTestCase {
|
||||
|
||||
func testDefaultDatabaseSelection() throws {
|
||||
struct Record: TableMapping {
|
||||
struct Record: TableRecord {
|
||||
static let databaseTableName = "t1"
|
||||
}
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
@@ -22,7 +22,7 @@ class TableMappingTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
func testExtendedDatabaseSelection() throws {
|
||||
struct Record: TableMapping {
|
||||
struct Record: TableRecord {
|
||||
static let databaseTableName = "t1"
|
||||
static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
}
|
||||
@@ -35,7 +35,7 @@ class TableMappingTests: GRDBTestCase {
|
||||
}
|
||||
|
||||
func testRestrictedDatabaseSelection() throws {
|
||||
struct Record: TableMapping {
|
||||
struct Record: TableRecord {
|
||||
static let databaseTableName = "t1"
|
||||
static let databaseSelection: [SQLSelectable] = [Column("a"), Column("b")]
|
||||
}
|
||||
@@ -100,7 +100,7 @@ private final class Artist: Codable {
|
||||
}
|
||||
}
|
||||
|
||||
extension Artist : RowConvertible, Persistable {
|
||||
extension Artist : FetchableRecord, PersistableRecord {
|
||||
static let databaseTableName = "artists"
|
||||
func didInsert(with rowID: Int64, for column: String?) {
|
||||
self.id = rowID
|
||||
@@ -119,7 +119,7 @@ private final class Artwork : Codable {
|
||||
}
|
||||
}
|
||||
|
||||
extension Artwork : RowConvertible, Persistable {
|
||||
extension Artwork : FetchableRecord, PersistableRecord {
|
||||
static let databaseTableName = "artworks"
|
||||
func didInsert(with rowID: Int64, for column: String?) {
|
||||
self.id = rowID
|
||||
|
||||
@@ -7,7 +7,7 @@ import RealmSwift
|
||||
|
||||
// MARK:- GRDB
|
||||
|
||||
struct ItemStruct : RowConvertible, Persistable {
|
||||
struct ItemStruct : FetchableRecord, PersistableRecord {
|
||||
var i0: Int
|
||||
var i1: Int
|
||||
var i2: Int
|
||||
|
||||
@@ -48,7 +48,7 @@ All tests use the default settings of each library. For each library, we:
|
||||
- Build and consume database rows with raw SQL and column indexes (aiming at the best performance)
|
||||
- Build and consume database rows with column names (sacrificing performance for maintainability)
|
||||
- Build and consume records values to and from database rows (aiming at the shortest code from database to records)
|
||||
- Build and consume records values to and from database rows, with [change tracking](https://github.com/groue/GRDB.swift#changes-tracking) (records know if they have unsaved changes)
|
||||
- Build and consume records values to and from database rows, with [change tracking](https://github.com/groue/GRDB.swift/blob/master/README.md#changes-tracking) (records know if they have unsaved changes)
|
||||
|
||||
As a bottom line, the raw SQLite C API is used as efficiently as possible, without any error checking.
|
||||
|
||||
@@ -103,11 +103,11 @@ As a bottom line, the raw SQLite C API is used as efficiently as possible, witho
|
||||
|
||||
This test fetches an array of 100000 record objects initiated from rows of 10 ints.
|
||||
|
||||
It builds records from FMDB's `-[FMResultSet resultDictionary]`, GRDB's built-in [RowConvertible](https://github.com/groue/GRDB.swift#rowconvertible-protocol) protocol, and the values returned by the high-level query builder of SQLite.swift.
|
||||
It builds records from FMDB's `-[FMResultSet resultDictionary]`, GRDB's built-in [FetchableRecord](https://github.com/groue/GRDB.swift/blob/master/README.md#fetchablerecord-protocol) protocol, and the values returned by the high-level query builder of SQLite.swift.
|
||||
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/InsertRecordStructTests.swift))
|
||||
|
||||
This tests inserts 20000 records with the persistence method provided by GRDB's [Persistable](https://github.com/groue/GRDB.swift#persistable-protocol) protocol.
|
||||
This tests inserts 20000 records with the persistence method provided by GRDB's [PersistableRecord](https://github.com/groue/GRDB.swift/blob/master/README.md#persistablerecord-protocol) protocol.
|
||||
|
||||
- **Records with change tracking**:
|
||||
|
||||
@@ -115,9 +115,9 @@ As a bottom line, the raw SQLite C API is used as efficiently as possible, witho
|
||||
|
||||
This test fetches an array of 100000 record objects initiated from rows of 10 ints.
|
||||
|
||||
It builds records from FMDB's `-[FMResultSet resultDictionary]`, GRDB's built-in [Record](https://github.com/groue/GRDB.swift#record-class) class.
|
||||
It builds records from FMDB's `-[FMResultSet resultDictionary]`, GRDB's built-in [Record](https://github.com/groue/GRDB.swift/blob/master/README.md#record-class) class.
|
||||
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/InsertRecordClassTests.swift))
|
||||
|
||||
This tests inserts 20000 records with the persistence method provided by GRDB's [Record](https://github.com/groue/GRDB.swift#record-class) class.
|
||||
This tests inserts 20000 records with the persistence method provided by GRDB's [Record](https://github.com/groue/GRDB.swift/blob/master/README.md#record-class) class.
|
||||
REPORT
|
||||
Reference in new issue
Block a user