mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Rename SQLiteStatementConvertible to StatementColumnConvertible + Project organization
This commit is contained in:
1 parent
d8140b87d7
commit
8cdacf3899
26 files changed
+193
-193
No files matched your search
+146
-146
@@ -7,6 +7,34 @@
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
5605F1591C672E4000235C62 /* CGFloat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1491C672E4000235C62 /* CGFloat.swift */; };
|
||||
5605F15A1C672E4000235C62 /* CGFloat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1491C672E4000235C62 /* CGFloat.swift */; };
|
||||
5605F15B1C672E4000235C62 /* DatabaseCoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14B1C672E4000235C62 /* DatabaseCoder.swift */; };
|
||||
5605F15C1C672E4000235C62 /* DatabaseCoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14B1C672E4000235C62 /* DatabaseCoder.swift */; };
|
||||
5605F15D1C672E4000235C62 /* DatabaseDateComponents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14C1C672E4000235C62 /* DatabaseDateComponents.swift */; };
|
||||
5605F15E1C672E4000235C62 /* DatabaseDateComponents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14C1C672E4000235C62 /* DatabaseDateComponents.swift */; };
|
||||
5605F15F1C672E4000235C62 /* DatabaseValue+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14D1C672E4000235C62 /* DatabaseValue+Foundation.swift */; };
|
||||
5605F1601C672E4000235C62 /* DatabaseValue+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14D1C672E4000235C62 /* DatabaseValue+Foundation.swift */; };
|
||||
5605F1611C672E4000235C62 /* NSData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14E1C672E4000235C62 /* NSData.swift */; };
|
||||
5605F1621C672E4000235C62 /* NSData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14E1C672E4000235C62 /* NSData.swift */; };
|
||||
5605F1631C672E4000235C62 /* NSDate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14F1C672E4000235C62 /* NSDate.swift */; };
|
||||
5605F1641C672E4000235C62 /* NSDate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F14F1C672E4000235C62 /* NSDate.swift */; };
|
||||
5605F1651C672E4000235C62 /* NSNull.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1501C672E4000235C62 /* NSNull.swift */; };
|
||||
5605F1661C672E4000235C62 /* NSNull.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1501C672E4000235C62 /* NSNull.swift */; };
|
||||
5605F1671C672E4000235C62 /* NSNumber.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1511C672E4000235C62 /* NSNumber.swift */; };
|
||||
5605F1681C672E4000235C62 /* NSNumber.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1511C672E4000235C62 /* NSNumber.swift */; };
|
||||
5605F1691C672E4000235C62 /* NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1521C672E4000235C62 /* NSString.swift */; };
|
||||
5605F16A1C672E4000235C62 /* NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1521C672E4000235C62 /* NSString.swift */; };
|
||||
5605F16B1C672E4000235C62 /* NSURL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1531C672E4000235C62 /* NSURL.swift */; };
|
||||
5605F16C1C672E4000235C62 /* NSURL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1531C672E4000235C62 /* NSURL.swift */; };
|
||||
5605F16D1C672E4000235C62 /* Row+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1541C672E4000235C62 /* Row+Foundation.swift */; };
|
||||
5605F16E1C672E4000235C62 /* Row+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1541C672E4000235C62 /* Row+Foundation.swift */; };
|
||||
5605F16F1C672E4000235C62 /* StatementArguments+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1551C672E4000235C62 /* StatementArguments+Foundation.swift */; };
|
||||
5605F1701C672E4000235C62 /* StatementArguments+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1551C672E4000235C62 /* StatementArguments+Foundation.swift */; };
|
||||
5605F1711C672E4000235C62 /* RawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1571C672E4000235C62 /* RawRepresentable.swift */; };
|
||||
5605F1721C672E4000235C62 /* RawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1571C672E4000235C62 /* RawRepresentable.swift */; };
|
||||
5605F1731C672E4000235C62 /* StandardLibrary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1581C672E4000235C62 /* StandardLibrary.swift */; };
|
||||
5605F1741C672E4000235C62 /* StandardLibrary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1581C672E4000235C62 /* StandardLibrary.swift */; };
|
||||
5606AF911C0ED37000D20487 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 56BB86301BA98AB0001F9168 /* libsqlite3.tbd */; };
|
||||
5607EFD31BB8254800605DE3 /* TransactionObserverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */; };
|
||||
5607EFD41BB827FD00605DE3 /* TransactionObserverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */; };
|
||||
@@ -25,8 +53,16 @@
|
||||
560C98161C0E22D300BF8471 /* PerformanceTests.sqlite in Resources */ = {isa = PBXBuildFile; fileRef = 56BB86111BA9886D001F9168 /* PerformanceTests.sqlite */; };
|
||||
560C98231C0E23BB00BF8471 /* InsertRecordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56BB86121BA9886D001F9168 /* InsertRecordTests.swift */; };
|
||||
560C98241C0E23BB00BF8471 /* PerformanceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CA22211BB41565009A04C5 /* PerformanceTests.swift */; };
|
||||
5614DEF01BA9DA15003163B3 /* SQLiteStatementConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5614DEEF1BA9DA15003163B3 /* SQLiteStatementConvertible.swift */; };
|
||||
5614DEF11BA9DA15003163B3 /* SQLiteStatementConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5614DEEF1BA9DA15003163B3 /* SQLiteStatementConvertible.swift */; };
|
||||
560D92401C672C3E00F4F92B /* DatabaseValueConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D923E1C672C3E00F4F92B /* DatabaseValueConvertible.swift */; };
|
||||
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 */; };
|
||||
560D92491C672C4B00F4F92B /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92451C672C4B00F4F92B /* RowConvertible.swift */; };
|
||||
560D924A1C672C4B00F4F92B /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92451C672C4B00F4F92B /* RowConvertible.swift */; };
|
||||
560D924B1C672C4B00F4F92B /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
560D924C1C672C4B00F4F92B /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92461C672C4B00F4F92B /* TableMapping.swift */; };
|
||||
5614DEF81BAA1B43003163B3 /* DatabaseValueConversionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2381B1B9C74A90082EB20 /* DatabaseValueConversionTests.swift */; };
|
||||
56300B5F1C53C38F005A543B /* FetchRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B5D1C53C38F005A543B /* FetchRequestTests.swift */; };
|
||||
56300B611C53C42C005A543B /* RowConvertible+FetchRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B601C53C42C005A543B /* RowConvertible+FetchRequestTests.swift */; };
|
||||
@@ -50,8 +86,6 @@
|
||||
56300B861C54DC95005A543B /* Record+FetchRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B841C54DC95005A543B /* Record+FetchRequestTests.swift */; };
|
||||
563445051C4A7FD7003D3DC6 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563445041C4A7FD7003D3DC6 /* Utils.swift */; };
|
||||
563445061C4A7FD7003D3DC6 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563445041C4A7FD7003D3DC6 /* Utils.swift */; };
|
||||
56437C841C180EDB007D6DB3 /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56437C831C180EDB007D6DB3 /* Persistable.swift */; };
|
||||
56437C851C180EDB007D6DB3 /* Persistable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56437C831C180EDB007D6DB3 /* Persistable.swift */; };
|
||||
564A50C71BFF4B7F00B3A3A2 /* CollationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 564A50C61BFF4B7F00B3A3A2 /* CollationTests.swift */; };
|
||||
564A50C81BFF4B7F00B3A3A2 /* CollationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 564A50C61BFF4B7F00B3A3A2 /* CollationTests.swift */; };
|
||||
56553C101C3E906C00522B5C /* GRDBTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5623E0901B4AFACC00B20B7F /* GRDBTestCase.swift */; };
|
||||
@@ -62,23 +96,11 @@
|
||||
5658420F1C1A1C820099FE88 /* MutablePersistableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5658420D1C1A1C820099FE88 /* MutablePersistableTests.swift */; };
|
||||
565B0FEF1BBC7D980098DE03 /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
565B0FF01BBC7D980098DE03 /* RowConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */; };
|
||||
565D5D681BBC604000DC9BD4 /* Row+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D671BBC604000DC9BD4 /* Row+Foundation.swift */; };
|
||||
565D5D691BBC604000DC9BD4 /* Row+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D671BBC604000DC9BD4 /* Row+Foundation.swift */; };
|
||||
565D5D711BBC694D00DC9BD4 /* Row+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D701BBC694D00DC9BD4 /* Row+FoundationTests.swift */; };
|
||||
565D5D721BBC694D00DC9BD4 /* Row+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D701BBC694D00DC9BD4 /* Row+FoundationTests.swift */; };
|
||||
565D5D741BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */; };
|
||||
565D5D751BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 565D5D731BBC70AE00DC9BD4 /* StatementArguments+FoundationTests.swift */; };
|
||||
5683C2691B4D445E00296494 /* libsqlite3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5683C2681B4D445E00296494 /* libsqlite3.dylib */; };
|
||||
56A238021B9C6A650082EB20 /* DatabaseDateComponents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238011B9C6A650082EB20 /* DatabaseDateComponents.swift */; };
|
||||
56A238031B9C6A650082EB20 /* DatabaseDateComponents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238011B9C6A650082EB20 /* DatabaseDateComponents.swift */; };
|
||||
56A238051B9C6D670082EB20 /* NSDate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238041B9C6D670082EB20 /* NSDate.swift */; };
|
||||
56A238061B9C6D670082EB20 /* NSDate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238041B9C6D670082EB20 /* NSDate.swift */; };
|
||||
56A238091B9C6DD20082EB20 /* StandardLibraryTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238081B9C6DD20082EB20 /* StandardLibraryTypes.swift */; };
|
||||
56A2380A1B9C6DD20082EB20 /* StandardLibraryTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238081B9C6DD20082EB20 /* StandardLibraryTypes.swift */; };
|
||||
56A2380C1B9C6E440082EB20 /* NSData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2380B1B9C6E440082EB20 /* NSData.swift */; };
|
||||
56A2380D1B9C6E440082EB20 /* NSData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2380B1B9C6E440082EB20 /* NSData.swift */; };
|
||||
56A2380F1B9C74460082EB20 /* RawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2380E1B9C74460082EB20 /* RawRepresentable.swift */; };
|
||||
56A238101B9C74460082EB20 /* RawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A2380E1B9C74460082EB20 /* RawRepresentable.swift */; };
|
||||
56A238371B9C74A90082EB20 /* DatabaseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238131B9C74A90082EB20 /* DatabaseTests.swift */; };
|
||||
56A238381B9C74A90082EB20 /* DatabaseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238131B9C74A90082EB20 /* DatabaseTests.swift */; };
|
||||
56A238391B9C74A90082EB20 /* InMemoryDatabaseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238141B9C74A90082EB20 /* InMemoryDatabaseTests.swift */; };
|
||||
@@ -146,41 +168,21 @@
|
||||
56A2388C1B9C75030082EB20 /* Statement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238781B9C75030082EB20 /* Statement.swift */; };
|
||||
56A238931B9C750B0082EB20 /* DatabaseMigrator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238921B9C750B0082EB20 /* DatabaseMigrator.swift */; };
|
||||
56A238941B9C750B0082EB20 /* DatabaseMigrator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238921B9C750B0082EB20 /* DatabaseMigrator.swift */; };
|
||||
56A238991B9C752B0082EB20 /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238961B9C752B0082EB20 /* TableMapping.swift */; };
|
||||
56A2389A1B9C752B0082EB20 /* TableMapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238961B9C752B0082EB20 /* TableMapping.swift */; };
|
||||
56A2389B1B9C752B0082EB20 /* DatabaseValueConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238971B9C752B0082EB20 /* DatabaseValueConvertible.swift */; };
|
||||
56A2389C1B9C752B0082EB20 /* DatabaseValueConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238971B9C752B0082EB20 /* DatabaseValueConvertible.swift */; };
|
||||
56A2389D1B9C752B0082EB20 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238981B9C752B0082EB20 /* RowConvertible.swift */; };
|
||||
56A2389E1B9C752B0082EB20 /* RowConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238981B9C752B0082EB20 /* RowConvertible.swift */; };
|
||||
56A238A41B9C753B0082EB20 /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A11B9C753B0082EB20 /* Record.swift */; };
|
||||
56A238A51B9C753B0082EB20 /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A11B9C753B0082EB20 /* Record.swift */; };
|
||||
56A238AA1B9C7E540082EB20 /* StatementArguments+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A91B9C7E540082EB20 /* StatementArguments+Foundation.swift */; };
|
||||
56A238AB1B9C7E540082EB20 /* StatementArguments+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238A91B9C7E540082EB20 /* StatementArguments+Foundation.swift */; };
|
||||
56A238AD1B9C90090082EB20 /* NSNull.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238AC1B9C90090082EB20 /* NSNull.swift */; };
|
||||
56A238AE1B9C90090082EB20 /* NSNull.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238AC1B9C90090082EB20 /* NSNull.swift */; };
|
||||
56A238B01B9C90BB0082EB20 /* NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238AF1B9C90BB0082EB20 /* NSString.swift */; };
|
||||
56A238B11B9C90BB0082EB20 /* NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238AF1B9C90BB0082EB20 /* NSString.swift */; };
|
||||
56A238B31B9C919D0082EB20 /* NSNumber.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238B21B9C919D0082EB20 /* NSNumber.swift */; };
|
||||
56A238B41B9C919D0082EB20 /* NSNumber.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238B21B9C919D0082EB20 /* NSNumber.swift */; };
|
||||
56A238B61B9CA2590082EB20 /* DatabaseTimestampTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238B51B9CA2590082EB20 /* DatabaseTimestampTests.swift */; };
|
||||
56A238B71B9CA2590082EB20 /* DatabaseTimestampTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238B51B9CA2590082EB20 /* DatabaseTimestampTests.swift */; };
|
||||
56A5E4091BA2BCF900707640 /* RecordWithColumnNameManglingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A5E4081BA2BCF900707640 /* RecordWithColumnNameManglingTests.swift */; };
|
||||
56A5E40A1BA2BCF900707640 /* RecordWithColumnNameManglingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A5E4081BA2BCF900707640 /* RecordWithColumnNameManglingTests.swift */; };
|
||||
56AC8CCE1BA3F2AD009E4319 /* ConcurrencyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56AC8CCD1BA3F2AD009E4319 /* ConcurrencyTests.swift */; };
|
||||
56AC8CCF1BA3F2AD009E4319 /* ConcurrencyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56AC8CCD1BA3F2AD009E4319 /* ConcurrencyTests.swift */; };
|
||||
56B7F4271BE1491700E39BBF /* CGFloat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4261BE1491700E39BBF /* CGFloat.swift */; };
|
||||
56B7F42A1BE14A1900E39BBF /* CGFloatTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4291BE14A1900E39BBF /* CGFloatTests.swift */; };
|
||||
56B7F42E1BE14CD400E39BBF /* CGFloat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4261BE1491700E39BBF /* CGFloat.swift */; };
|
||||
56B7F42F1BE14CD700E39BBF /* CGFloatTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4291BE14A1900E39BBF /* CGFloatTests.swift */; };
|
||||
56B7F4341BE4BF1600E39BBF /* DatabaseCoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4331BE4BF1600E39BBF /* DatabaseCoder.swift */; };
|
||||
56B7F4351BE4BF1600E39BBF /* DatabaseCoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4331BE4BF1600E39BBF /* DatabaseCoder.swift */; };
|
||||
56B7F4371BE4C11200E39BBF /* DatabaseCoderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4361BE4C11200E39BBF /* DatabaseCoderTests.swift */; };
|
||||
56B7F4381BE4C11200E39BBF /* DatabaseCoderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4361BE4C11200E39BBF /* DatabaseCoderTests.swift */; };
|
||||
56B7F43A1BEB42D500E39BBF /* Migration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4391BEB42D500E39BBF /* Migration.swift */; };
|
||||
56B7F43B1BEB42D500E39BBF /* Migration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4391BEB42D500E39BBF /* Migration.swift */; };
|
||||
56BB862F1BA98AA9001F9168 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 56BB862E1BA98AA9001F9168 /* libsqlite3.tbd */; };
|
||||
56CA0D411BF5D8E20019C023 /* DatabaseValue+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CA0D401BF5D8E20019C023 /* DatabaseValue+Foundation.swift */; };
|
||||
56CA0D421BF5D8E20019C023 /* DatabaseValue+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CA0D401BF5D8E20019C023 /* DatabaseValue+Foundation.swift */; };
|
||||
56CA21BA1BB3FCF7009A04C5 /* NSDataTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CA21B91BB3FCF7009A04C5 /* NSDataTests.swift */; };
|
||||
56CA21BB1BB3FCF7009A04C5 /* NSDataTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CA21B91BB3FCF7009A04C5 /* NSDataTests.swift */; };
|
||||
56CA22291BB41663009A04C5 /* SQLite.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 56CA220B1BB414FE009A04C5 /* SQLite.framework */; };
|
||||
@@ -194,8 +196,6 @@
|
||||
56DE7B2F1C42B23B00861EB8 /* PerformanceModel.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 56DE7B2D1C42B23B00861EB8 /* PerformanceModel.xcdatamodeld */; };
|
||||
56DE7B351C42B37E00861EB8 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 56DE7B341C42B37E00861EB8 /* CoreData.framework */; };
|
||||
56DE7B371C42BBBB00861EB8 /* PerformanceCoreDataTests.sqlite in Resources */ = {isa = PBXBuildFile; fileRef = 56DE7B361C42BBBB00861EB8 /* PerformanceCoreDataTests.sqlite */; };
|
||||
56E5891F1BBA5D5400CC0140 /* NSURL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56E5891E1BBA5D5400CC0140 /* NSURL.swift */; };
|
||||
56E589201BBA5D5400CC0140 /* NSURL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56E5891E1BBA5D5400CC0140 /* NSURL.swift */; };
|
||||
56E5D7D41B4D3FEE00430942 /* GRDB.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 56E5D7CA1B4D3FED00430942 /* GRDB.framework */; };
|
||||
56E5D7FE1B4D422E00430942 /* GRDB.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC3773F319C8CBB3004FCF85 /* GRDB.framework */; };
|
||||
56E5D8041B4D424400430942 /* GRDBTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5623E0901B4AFACC00B20B7F /* GRDBTestCase.swift */; };
|
||||
@@ -299,11 +299,29 @@
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
5605F1491C672E4000235C62 /* CGFloat.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGFloat.swift; sourceTree = "<group>"; };
|
||||
5605F14B1C672E4000235C62 /* DatabaseCoder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseCoder.swift; sourceTree = "<group>"; };
|
||||
5605F14C1C672E4000235C62 /* DatabaseDateComponents.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseDateComponents.swift; sourceTree = "<group>"; };
|
||||
5605F14D1C672E4000235C62 /* DatabaseValue+Foundation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DatabaseValue+Foundation.swift"; sourceTree = "<group>"; };
|
||||
5605F14E1C672E4000235C62 /* NSData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSData.swift; sourceTree = "<group>"; };
|
||||
5605F14F1C672E4000235C62 /* NSDate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSDate.swift; sourceTree = "<group>"; };
|
||||
5605F1501C672E4000235C62 /* NSNull.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSNull.swift; sourceTree = "<group>"; };
|
||||
5605F1511C672E4000235C62 /* NSNumber.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSNumber.swift; sourceTree = "<group>"; };
|
||||
5605F1521C672E4000235C62 /* NSString.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSString.swift; sourceTree = "<group>"; };
|
||||
5605F1531C672E4000235C62 /* NSURL.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSURL.swift; sourceTree = "<group>"; };
|
||||
5605F1541C672E4000235C62 /* Row+Foundation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Row+Foundation.swift"; sourceTree = "<group>"; };
|
||||
5605F1551C672E4000235C62 /* StatementArguments+Foundation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "StatementArguments+Foundation.swift"; sourceTree = "<group>"; };
|
||||
5605F1571C672E4000235C62 /* RawRepresentable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawRepresentable.swift; sourceTree = "<group>"; };
|
||||
5605F1581C672E4000235C62 /* StandardLibrary.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StandardLibrary.swift; sourceTree = "<group>"; };
|
||||
5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TransactionObserverTests.swift; sourceTree = "<group>"; };
|
||||
560B3FAB1C19E01000C58EC7 /* PersistableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistableTests.swift; sourceTree = "<group>"; };
|
||||
560C97C61BFD0B8400BF8471 /* FunctionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FunctionTests.swift; sourceTree = "<group>"; };
|
||||
560C981A1C0E22D300BF8471 /* GRDBOSXPerformanceTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBOSXPerformanceTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
5614DEEF1BA9DA15003163B3 /* SQLiteStatementConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLiteStatementConvertible.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>"; };
|
||||
560D92451C672C4B00F4F92B /* RowConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertible.swift; sourceTree = "<group>"; };
|
||||
560D92461C672C4B00F4F92B /* TableMapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableMapping.swift; sourceTree = "<group>"; };
|
||||
5623E0901B4AFACC00B20B7F /* GRDBTestCase.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GRDBTestCase.swift; sourceTree = "<group>"; };
|
||||
56300B5D1C53C38F005A543B /* FetchRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FetchRequestTests.swift; sourceTree = "<group>"; };
|
||||
56300B601C53C42C005A543B /* RowConvertible+FetchRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "RowConvertible+FetchRequestTests.swift"; sourceTree = "<group>"; };
|
||||
@@ -316,20 +334,13 @@
|
||||
56300B751C53F592005A543B /* SQLQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLQuery.swift; sourceTree = "<group>"; };
|
||||
56300B841C54DC95005A543B /* Record+FetchRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Record+FetchRequestTests.swift"; sourceTree = "<group>"; };
|
||||
563445041C4A7FD7003D3DC6 /* Utils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = "<group>"; };
|
||||
56437C831C180EDB007D6DB3 /* Persistable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Persistable.swift; sourceTree = "<group>"; };
|
||||
564A50C61BFF4B7F00B3A3A2 /* CollationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollationTests.swift; sourceTree = "<group>"; };
|
||||
56553C181C3E906C00522B5C /* GRDBOSXCrashTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBOSXCrashTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
5658420D1C1A1C820099FE88 /* MutablePersistableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutablePersistableTests.swift; sourceTree = "<group>"; };
|
||||
565B0FEE1BBC7D980098DE03 /* RowConvertibleTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertibleTests.swift; sourceTree = "<group>"; };
|
||||
565D5D671BBC604000DC9BD4 /* Row+Foundation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Row+Foundation.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>"; };
|
||||
5683C2681B4D445E00296494 /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libsqlite3.dylib; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/lib/libsqlite3.dylib; sourceTree = DEVELOPER_DIR; };
|
||||
56A238011B9C6A650082EB20 /* DatabaseDateComponents.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseDateComponents.swift; sourceTree = "<group>"; };
|
||||
56A238041B9C6D670082EB20 /* NSDate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSDate.swift; sourceTree = "<group>"; };
|
||||
56A238081B9C6DD20082EB20 /* StandardLibraryTypes.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StandardLibraryTypes.swift; sourceTree = "<group>"; };
|
||||
56A2380B1B9C6E440082EB20 /* NSData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSData.swift; sourceTree = "<group>"; };
|
||||
56A2380E1B9C74460082EB20 /* RawRepresentable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawRepresentable.swift; sourceTree = "<group>"; };
|
||||
56A238131B9C74A90082EB20 /* DatabaseTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseTests.swift; sourceTree = "<group>"; };
|
||||
56A238141B9C74A90082EB20 /* InMemoryDatabaseTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InMemoryDatabaseTests.swift; sourceTree = "<group>"; };
|
||||
56A238161B9C74A90082EB20 /* DatabaseErrorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseErrorTests.swift; sourceTree = "<group>"; };
|
||||
@@ -364,20 +375,11 @@
|
||||
56A238761B9C75030082EB20 /* Row.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Row.swift; sourceTree = "<group>"; };
|
||||
56A238781B9C75030082EB20 /* Statement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Statement.swift; sourceTree = "<group>"; };
|
||||
56A238921B9C750B0082EB20 /* DatabaseMigrator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseMigrator.swift; sourceTree = "<group>"; };
|
||||
56A238961B9C752B0082EB20 /* TableMapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableMapping.swift; sourceTree = "<group>"; };
|
||||
56A238971B9C752B0082EB20 /* DatabaseValueConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseValueConvertible.swift; sourceTree = "<group>"; };
|
||||
56A238981B9C752B0082EB20 /* RowConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowConvertible.swift; sourceTree = "<group>"; };
|
||||
56A238A11B9C753B0082EB20 /* Record.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Record.swift; sourceTree = "<group>"; };
|
||||
56A238A91B9C7E540082EB20 /* StatementArguments+Foundation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "StatementArguments+Foundation.swift"; sourceTree = "<group>"; };
|
||||
56A238AC1B9C90090082EB20 /* NSNull.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSNull.swift; sourceTree = "<group>"; };
|
||||
56A238AF1B9C90BB0082EB20 /* NSString.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSString.swift; sourceTree = "<group>"; };
|
||||
56A238B21B9C919D0082EB20 /* NSNumber.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSNumber.swift; sourceTree = "<group>"; };
|
||||
56A238B51B9CA2590082EB20 /* DatabaseTimestampTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseTimestampTests.swift; sourceTree = "<group>"; };
|
||||
56A5E4081BA2BCF900707640 /* RecordWithColumnNameManglingTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RecordWithColumnNameManglingTests.swift; sourceTree = "<group>"; };
|
||||
56AC8CCD1BA3F2AD009E4319 /* ConcurrencyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConcurrencyTests.swift; sourceTree = "<group>"; };
|
||||
56B7F4261BE1491700E39BBF /* CGFloat.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGFloat.swift; sourceTree = "<group>"; };
|
||||
56B7F4291BE14A1900E39BBF /* CGFloatTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGFloatTests.swift; sourceTree = "<group>"; };
|
||||
56B7F4331BE4BF1600E39BBF /* DatabaseCoder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseCoder.swift; sourceTree = "<group>"; };
|
||||
56B7F4361BE4C11200E39BBF /* DatabaseCoderTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseCoderTests.swift; sourceTree = "<group>"; };
|
||||
56B7F4391BEB42D500E39BBF /* Migration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Migration.swift; sourceTree = "<group>"; };
|
||||
56B8F49A1B4E2F3600C24296 /* GRDB.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = GRDB.xcconfig; sourceTree = "<group>"; };
|
||||
@@ -398,7 +400,6 @@
|
||||
56BB862D1BA98933001F9168 /* GRDBPerformanceTests-Bridging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GRDBPerformanceTests-Bridging.h"; sourceTree = "<group>"; };
|
||||
56BB862E1BA98AA9001F9168 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libsqlite3.tbd; sourceTree = DEVELOPER_DIR; };
|
||||
56BB86301BA98AB0001F9168 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
|
||||
56CA0D401BF5D8E20019C023 /* DatabaseValue+Foundation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DatabaseValue+Foundation.swift"; sourceTree = "<group>"; };
|
||||
56CA21B91BB3FCF7009A04C5 /* NSDataTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSDataTests.swift; sourceTree = "<group>"; };
|
||||
56CA21FE1BB414FE009A04C5 /* SQLite.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SQLite.xcodeproj; path = SQLite.swift/SQLite.xcodeproj; sourceTree = "<group>"; };
|
||||
56CA22211BB41565009A04C5 /* PerformanceTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PerformanceTests.swift; sourceTree = "<group>"; };
|
||||
@@ -414,7 +415,6 @@
|
||||
56DE7B341C42B37E00861EB8 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
|
||||
56DE7B361C42BBBB00861EB8 /* PerformanceCoreDataTests.sqlite */ = {isa = PBXFileReference; lastKnownFileType = file; path = PerformanceCoreDataTests.sqlite; sourceTree = "<group>"; };
|
||||
56E1524B1B43FD5B00EE27AA /* TODO.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = TODO.md; sourceTree = "<group>"; };
|
||||
56E5891E1BBA5D5400CC0140 /* NSURL.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NSURL.swift; sourceTree = "<group>"; };
|
||||
56E5D7CA1B4D3FED00430942 /* GRDB.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GRDB.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
56E5D7D31B4D3FEE00430942 /* GRDBTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
56E5D7F91B4D422D00430942 /* GRDBTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
@@ -495,6 +495,51 @@
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
5605F1471C672E4000235C62 /* Support */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5605F1481C672E4000235C62 /* CoreGraphics */,
|
||||
5605F14A1C672E4000235C62 /* Foundation */,
|
||||
5605F1561C672E4000235C62 /* StandardLibrary */,
|
||||
);
|
||||
path = Support;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5605F1481C672E4000235C62 /* CoreGraphics */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5605F1491C672E4000235C62 /* CGFloat.swift */,
|
||||
);
|
||||
path = CoreGraphics;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5605F14A1C672E4000235C62 /* Foundation */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5605F14B1C672E4000235C62 /* DatabaseCoder.swift */,
|
||||
5605F14C1C672E4000235C62 /* DatabaseDateComponents.swift */,
|
||||
5605F14D1C672E4000235C62 /* DatabaseValue+Foundation.swift */,
|
||||
5605F14E1C672E4000235C62 /* NSData.swift */,
|
||||
5605F14F1C672E4000235C62 /* NSDate.swift */,
|
||||
5605F1501C672E4000235C62 /* NSNull.swift */,
|
||||
5605F1511C672E4000235C62 /* NSNumber.swift */,
|
||||
5605F1521C672E4000235C62 /* NSString.swift */,
|
||||
5605F1531C672E4000235C62 /* NSURL.swift */,
|
||||
5605F1541C672E4000235C62 /* Row+Foundation.swift */,
|
||||
5605F1551C672E4000235C62 /* StatementArguments+Foundation.swift */,
|
||||
);
|
||||
path = Foundation;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5605F1561C672E4000235C62 /* StandardLibrary */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5605F1571C672E4000235C62 /* RawRepresentable.swift */,
|
||||
5605F1581C672E4000235C62 /* StandardLibrary.swift */,
|
||||
);
|
||||
path = StandardLibrary;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5607EFD11BB8253300605DE3 /* TransactionObserver */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -592,33 +637,6 @@
|
||||
path = Public;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56A238001B9C6A1E0082EB20 /* Foundation */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56A238011B9C6A650082EB20 /* DatabaseDateComponents.swift */,
|
||||
56B7F4331BE4BF1600E39BBF /* DatabaseCoder.swift */,
|
||||
56CA0D401BF5D8E20019C023 /* DatabaseValue+Foundation.swift */,
|
||||
56A2380B1B9C6E440082EB20 /* NSData.swift */,
|
||||
56A238041B9C6D670082EB20 /* NSDate.swift */,
|
||||
56A238AC1B9C90090082EB20 /* NSNull.swift */,
|
||||
56A238B21B9C919D0082EB20 /* NSNumber.swift */,
|
||||
56A238AF1B9C90BB0082EB20 /* NSString.swift */,
|
||||
56E5891E1BBA5D5400CC0140 /* NSURL.swift */,
|
||||
565D5D671BBC604000DC9BD4 /* Row+Foundation.swift */,
|
||||
56A238A91B9C7E540082EB20 /* StatementArguments+Foundation.swift */,
|
||||
);
|
||||
path = Foundation;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56A238071B9C6DAD0082EB20 /* Swift */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56A238081B9C6DD20082EB20 /* StandardLibraryTypes.swift */,
|
||||
56A2380E1B9C74460082EB20 /* RawRepresentable.swift */,
|
||||
);
|
||||
path = Swift;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56A238111B9C74A90082EB20 /* Core */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -742,10 +760,12 @@
|
||||
56A238731B9C75030082EB20 /* DatabaseError.swift */,
|
||||
56A238741B9C75030082EB20 /* DatabaseQueue.swift */,
|
||||
56A238751B9C75030082EB20 /* DatabaseValue.swift */,
|
||||
560D923E1C672C3E00F4F92B /* DatabaseValueConvertible.swift */,
|
||||
56A238761B9C75030082EB20 /* Row.swift */,
|
||||
56A238781B9C75030082EB20 /* Statement.swift */,
|
||||
560D923F1C672C3E00F4F92B /* StatementColumnConvertible.swift */,
|
||||
563445041C4A7FD7003D3DC6 /* Utils.swift */,
|
||||
56A238951B9C752B0082EB20 /* Protocols */,
|
||||
5605F1471C672E4000235C62 /* Support */,
|
||||
);
|
||||
path = Core;
|
||||
sourceTree = "<group>";
|
||||
@@ -759,22 +779,13 @@
|
||||
path = Migrations;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56A238951B9C752B0082EB20 /* Protocols */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56A238971B9C752B0082EB20 /* DatabaseValueConvertible.swift */,
|
||||
56437C831C180EDB007D6DB3 /* Persistable.swift */,
|
||||
56A238981B9C752B0082EB20 /* RowConvertible.swift */,
|
||||
5614DEEF1BA9DA15003163B3 /* SQLiteStatementConvertible.swift */,
|
||||
56A238961B9C752B0082EB20 /* TableMapping.swift */,
|
||||
);
|
||||
path = Protocols;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56A2389F1B9C753B0082EB20 /* Record */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
560D92441C672C4B00F4F92B /* Persistable.swift */,
|
||||
56A238A11B9C753B0082EB20 /* Record.swift */,
|
||||
560D92451C672C4B00F4F92B /* RowConvertible.swift */,
|
||||
560D92461C672C4B00F4F92B /* TableMapping.swift */,
|
||||
);
|
||||
path = Record;
|
||||
sourceTree = "<group>";
|
||||
@@ -787,14 +798,6 @@
|
||||
path = Concurrency;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56B7F4251BE148FE00E39BBF /* CoreGraphics */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56B7F4261BE1491700E39BBF /* CGFloat.swift */,
|
||||
);
|
||||
path = CoreGraphics;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
56B7F4281BE149F600E39BBF /* CoreGraphics */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -954,12 +957,9 @@
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56A2386F1B9C75030082EB20 /* Core */,
|
||||
56B7F4251BE148FE00E39BBF /* CoreGraphics */,
|
||||
56300B6D1C53F592005A543B /* FetchRequest */,
|
||||
56A238001B9C6A1E0082EB20 /* Foundation */,
|
||||
56A238911B9C750B0082EB20 /* Migrations */,
|
||||
56A2389F1B9C753B0082EB20 /* Record */,
|
||||
56A238071B9C6DAD0082EB20 /* Swift */,
|
||||
DC37743319C8CFCE004FCF85 /* Supporting Files */,
|
||||
);
|
||||
path = GRDB;
|
||||
@@ -1279,40 +1279,40 @@
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
5605F1621C672E4000235C62 /* NSData.swift in Sources */,
|
||||
56300B791C53F592005A543B /* FetchRequest.swift in Sources */,
|
||||
56437C851C180EDB007D6DB3 /* Persistable.swift in Sources */,
|
||||
56E589201BBA5D5400CC0140 /* NSURL.swift in Sources */,
|
||||
56A2380A1B9C6DD20082EB20 /* StandardLibraryTypes.swift in Sources */,
|
||||
5614DEF11BA9DA15003163B3 /* SQLiteStatementConvertible.swift in Sources */,
|
||||
56A2387E1B9C75030082EB20 /* Database.swift in Sources */,
|
||||
5605F15A1C672E4000235C62 /* CGFloat.swift in Sources */,
|
||||
5605F1641C672E4000235C62 /* NSDate.swift in Sources */,
|
||||
5605F1721C672E4000235C62 /* RawRepresentable.swift in Sources */,
|
||||
563445061C4A7FD7003D3DC6 /* Utils.swift in Sources */,
|
||||
56A238941B9C750B0082EB20 /* DatabaseMigrator.swift in Sources */,
|
||||
56A238AB1B9C7E540082EB20 /* StatementArguments+Foundation.swift in Sources */,
|
||||
5605F16A1C672E4000235C62 /* NSString.swift in Sources */,
|
||||
56300B7F1C53F592005A543B /* Function.swift in Sources */,
|
||||
56A2389E1B9C752B0082EB20 /* RowConvertible.swift in Sources */,
|
||||
56A238031B9C6A650082EB20 /* DatabaseDateComponents.swift in Sources */,
|
||||
5605F16E1C672E4000235C62 /* Row+Foundation.swift in Sources */,
|
||||
560D92411C672C3E00F4F92B /* DatabaseValueConvertible.swift in Sources */,
|
||||
56300B7D1C53F592005A543B /* Collation.swift in Sources */,
|
||||
56A238A51B9C753B0082EB20 /* Record.swift in Sources */,
|
||||
56A238101B9C74460082EB20 /* RawRepresentable.swift in Sources */,
|
||||
56A238061B9C6D670082EB20 /* NSDate.swift in Sources */,
|
||||
56A2380D1B9C6E440082EB20 /* NSData.swift in Sources */,
|
||||
56CA0D421BF5D8E20019C023 /* DatabaseValue+Foundation.swift in Sources */,
|
||||
5605F1701C672E4000235C62 /* StatementArguments+Foundation.swift in Sources */,
|
||||
560D924C1C672C4B00F4F92B /* TableMapping.swift in Sources */,
|
||||
5605F15C1C672E4000235C62 /* DatabaseCoder.swift in Sources */,
|
||||
5605F16C1C672E4000235C62 /* NSURL.swift in Sources */,
|
||||
56A2387C1B9C75030082EB20 /* Configuration.swift in Sources */,
|
||||
56A238B11B9C90BB0082EB20 /* NSString.swift in Sources */,
|
||||
56A238B41B9C919D0082EB20 /* NSNumber.swift in Sources */,
|
||||
56B7F4271BE1491700E39BBF /* CGFloat.swift in Sources */,
|
||||
56A2388C1B9C75030082EB20 /* Statement.swift in Sources */,
|
||||
56B7F43B1BEB42D500E39BBF /* Migration.swift in Sources */,
|
||||
56300B811C53F592005A543B /* Operator.swift in Sources */,
|
||||
56A2389C1B9C752B0082EB20 /* DatabaseValueConvertible.swift in Sources */,
|
||||
565D5D691BBC604000DC9BD4 /* Row+Foundation.swift in Sources */,
|
||||
56A238AE1B9C90090082EB20 /* NSNull.swift in Sources */,
|
||||
56A2389A1B9C752B0082EB20 /* TableMapping.swift in Sources */,
|
||||
56A238881B9C75030082EB20 /* Row.swift in Sources */,
|
||||
5605F15E1C672E4000235C62 /* DatabaseDateComponents.swift in Sources */,
|
||||
5605F1661C672E4000235C62 /* NSNull.swift in Sources */,
|
||||
56A238841B9C75030082EB20 /* DatabaseQueue.swift in Sources */,
|
||||
56A238821B9C75030082EB20 /* DatabaseError.swift in Sources */,
|
||||
56B7F4351BE4BF1600E39BBF /* DatabaseCoder.swift in Sources */,
|
||||
5605F1681C672E4000235C62 /* NSNumber.swift in Sources */,
|
||||
5605F1601C672E4000235C62 /* DatabaseValue+Foundation.swift in Sources */,
|
||||
56300B831C53F592005A543B /* SQLQuery.swift in Sources */,
|
||||
5605F1741C672E4000235C62 /* StandardLibrary.swift in Sources */,
|
||||
560D92481C672C4B00F4F92B /* Persistable.swift in Sources */,
|
||||
560D92431C672C3E00F4F92B /* StatementColumnConvertible.swift in Sources */,
|
||||
560D924A1C672C4B00F4F92B /* RowConvertible.swift in Sources */,
|
||||
56A238861B9C75030082EB20 /* DatabaseValue.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
@@ -1447,41 +1447,41 @@
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
5605F1611C672E4000235C62 /* NSData.swift in Sources */,
|
||||
56300B781C53F592005A543B /* FetchRequest.swift in Sources */,
|
||||
56A238AD1B9C90090082EB20 /* NSNull.swift in Sources */,
|
||||
56437C841C180EDB007D6DB3 /* Persistable.swift in Sources */,
|
||||
56E5891F1BBA5D5400CC0140 /* NSURL.swift in Sources */,
|
||||
56A2389D1B9C752B0082EB20 /* RowConvertible.swift in Sources */,
|
||||
5614DEF01BA9DA15003163B3 /* SQLiteStatementConvertible.swift in Sources */,
|
||||
563445051C4A7FD7003D3DC6 /* Utils.swift in Sources */,
|
||||
56A238051B9C6D670082EB20 /* NSDate.swift in Sources */,
|
||||
5605F1591C672E4000235C62 /* CGFloat.swift in Sources */,
|
||||
5605F1631C672E4000235C62 /* NSDate.swift in Sources */,
|
||||
5605F1711C672E4000235C62 /* RawRepresentable.swift in Sources */,
|
||||
56A2387B1B9C75030082EB20 /* Configuration.swift in Sources */,
|
||||
56300B7E1C53F592005A543B /* Function.swift in Sources */,
|
||||
56B7F42E1BE14CD400E39BBF /* CGFloat.swift in Sources */,
|
||||
56A2389B1B9C752B0082EB20 /* DatabaseValueConvertible.swift in Sources */,
|
||||
5605F1691C672E4000235C62 /* NSString.swift in Sources */,
|
||||
56300B7C1C53F592005A543B /* Collation.swift in Sources */,
|
||||
56A2380F1B9C74460082EB20 /* RawRepresentable.swift in Sources */,
|
||||
56A238AA1B9C7E540082EB20 /* StatementArguments+Foundation.swift in Sources */,
|
||||
5605F16D1C672E4000235C62 /* Row+Foundation.swift in Sources */,
|
||||
560D92401C672C3E00F4F92B /* DatabaseValueConvertible.swift in Sources */,
|
||||
56A238811B9C75030082EB20 /* DatabaseError.swift in Sources */,
|
||||
56A238991B9C752B0082EB20 /* TableMapping.swift in Sources */,
|
||||
56CA0D411BF5D8E20019C023 /* DatabaseValue+Foundation.swift in Sources */,
|
||||
56A238851B9C75030082EB20 /* DatabaseValue.swift in Sources */,
|
||||
5605F16F1C672E4000235C62 /* StatementArguments+Foundation.swift in Sources */,
|
||||
56A238A41B9C753B0082EB20 /* Record.swift in Sources */,
|
||||
56A238091B9C6DD20082EB20 /* StandardLibraryTypes.swift in Sources */,
|
||||
56A238021B9C6A650082EB20 /* DatabaseDateComponents.swift in Sources */,
|
||||
5605F15B1C672E4000235C62 /* DatabaseCoder.swift in Sources */,
|
||||
5605F16B1C672E4000235C62 /* NSURL.swift in Sources */,
|
||||
560D924B1C672C4B00F4F92B /* TableMapping.swift in Sources */,
|
||||
56B7F43A1BEB42D500E39BBF /* Migration.swift in Sources */,
|
||||
56A2388B1B9C75030082EB20 /* Statement.swift in Sources */,
|
||||
56300B801C53F592005A543B /* Operator.swift in Sources */,
|
||||
56A238B31B9C919D0082EB20 /* NSNumber.swift in Sources */,
|
||||
56A238B01B9C90BB0082EB20 /* NSString.swift in Sources */,
|
||||
565D5D681BBC604000DC9BD4 /* Row+Foundation.swift in Sources */,
|
||||
56A238931B9C750B0082EB20 /* DatabaseMigrator.swift in Sources */,
|
||||
5605F15D1C672E4000235C62 /* DatabaseDateComponents.swift in Sources */,
|
||||
5605F1651C672E4000235C62 /* NSNull.swift in Sources */,
|
||||
56A2387D1B9C75030082EB20 /* Database.swift in Sources */,
|
||||
56A238831B9C75030082EB20 /* DatabaseQueue.swift in Sources */,
|
||||
5605F1671C672E4000235C62 /* NSNumber.swift in Sources */,
|
||||
5605F15F1C672E4000235C62 /* DatabaseValue+Foundation.swift in Sources */,
|
||||
56A238871B9C75030082EB20 /* Row.swift in Sources */,
|
||||
56B7F4341BE4BF1600E39BBF /* DatabaseCoder.swift in Sources */,
|
||||
5605F1731C672E4000235C62 /* StandardLibrary.swift in Sources */,
|
||||
56300B821C53F592005A543B /* SQLQuery.swift in Sources */,
|
||||
56A2380C1B9C6E440082EB20 /* NSData.swift in Sources */,
|
||||
560D92471C672C4B00F4F92B /* Persistable.swift in Sources */,
|
||||
560D92421C672C3E00F4F92B /* StatementColumnConvertible.swift in Sources */,
|
||||
560D92491C672C4B00F4F92B /* RowConvertible.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
||||
File renamed without changes.
+14
-14
@@ -91,18 +91,18 @@ public final class Row: CollectionType {
|
||||
/// - Text SQLite values to Swift String.
|
||||
/// - Blob SQLite values to NSData.
|
||||
///
|
||||
/// Types that adopt DatabaseValueConvertible and SQLiteStatementConvertible
|
||||
/// Types that adopt DatabaseValueConvertible and StatementColumnConvertible
|
||||
/// can provide more conversions.
|
||||
///
|
||||
/// This method exists as an optimization opportunity for types that adopt
|
||||
/// SQLiteStatementConvertible. It *may* trigger SQLite built-in conversions
|
||||
/// StatementColumnConvertible. It *may* trigger SQLite built-in conversions
|
||||
/// (see https://www.sqlite.org/datatype3.html).
|
||||
public func value<Value: protocol<DatabaseValueConvertible, SQLiteStatementConvertible>>(atIndex index: Int) -> Value? {
|
||||
public func value<Value: protocol<DatabaseValueConvertible, StatementColumnConvertible>>(atIndex index: Int) -> Value? {
|
||||
precondition(index >= 0 && index < count, "row index out of range")
|
||||
return unsafeValue(atIndex: index)
|
||||
}
|
||||
|
||||
private func unsafeValue<Value: protocol<DatabaseValueConvertible, SQLiteStatementConvertible>>(atIndex index: Int) -> Value? {
|
||||
private func unsafeValue<Value: protocol<DatabaseValueConvertible, StatementColumnConvertible>>(atIndex index: Int) -> Value? {
|
||||
let sqliteStatement = self.sqliteStatement
|
||||
guard sqliteStatement != nil else {
|
||||
return impl.databaseValue(atIndex: index).value()
|
||||
@@ -153,18 +153,18 @@ public final class Row: CollectionType {
|
||||
/// - Text SQLite values to Swift String.
|
||||
/// - Blob SQLite values to NSData.
|
||||
///
|
||||
/// Types that adopt DatabaseValueConvertible and SQLiteStatementConvertible
|
||||
/// Types that adopt DatabaseValueConvertible and StatementColumnConvertible
|
||||
/// can provide more conversions.
|
||||
///
|
||||
/// This method exists as an optimization opportunity for types that adopt
|
||||
/// SQLiteStatementConvertible. It *may* trigger SQLite built-in conversions
|
||||
/// StatementColumnConvertible. It *may* trigger SQLite built-in conversions
|
||||
/// (see https://www.sqlite.org/datatype3.html).
|
||||
public func value<Value: protocol<DatabaseValueConvertible, SQLiteStatementConvertible>>(atIndex index: Int) -> Value {
|
||||
public func value<Value: protocol<DatabaseValueConvertible, StatementColumnConvertible>>(atIndex index: Int) -> Value {
|
||||
precondition(index >= 0 && index < count, "row index out of range")
|
||||
return unsafeValue(atIndex: index)
|
||||
}
|
||||
|
||||
private func unsafeValue<Value: protocol<DatabaseValueConvertible, SQLiteStatementConvertible>>(atIndex index: Int) -> Value {
|
||||
private func unsafeValue<Value: protocol<DatabaseValueConvertible, StatementColumnConvertible>>(atIndex index: Int) -> Value {
|
||||
let sqliteStatement = self.sqliteStatement
|
||||
guard sqliteStatement != nil else {
|
||||
return impl.databaseValue(atIndex: index).value()
|
||||
@@ -228,13 +228,13 @@ public final class Row: CollectionType {
|
||||
/// - Text SQLite values to Swift String.
|
||||
/// - Blob SQLite values to NSData.
|
||||
///
|
||||
/// Types that adopt DatabaseValueConvertible and SQLiteStatementConvertible
|
||||
/// Types that adopt DatabaseValueConvertible and StatementColumnConvertible
|
||||
/// can provide more conversions.
|
||||
///
|
||||
/// This method exists as an optimization opportunity for types that adopt
|
||||
/// SQLiteStatementConvertible. It *may* trigger SQLite built-in conversions
|
||||
/// StatementColumnConvertible. It *may* trigger SQLite built-in conversions
|
||||
/// (see https://www.sqlite.org/datatype3.html).
|
||||
public func value<Value: protocol<DatabaseValueConvertible, SQLiteStatementConvertible>>(named columnName: String) -> Value? {
|
||||
public func value<Value: protocol<DatabaseValueConvertible, StatementColumnConvertible>>(named columnName: String) -> Value? {
|
||||
guard let index = impl.indexOfColumn(named: columnName) else {
|
||||
return nil
|
||||
}
|
||||
@@ -279,13 +279,13 @@ public final class Row: CollectionType {
|
||||
/// - Text SQLite values to Swift String.
|
||||
/// - Blob SQLite values to NSData.
|
||||
///
|
||||
/// Types that adopt DatabaseValueConvertible and SQLiteStatementConvertible
|
||||
/// Types that adopt DatabaseValueConvertible and StatementColumnConvertible
|
||||
/// can provide more conversions.
|
||||
///
|
||||
/// This method exists as an optimization opportunity for types that adopt
|
||||
/// SQLiteStatementConvertible. It *may* trigger SQLite built-in conversions
|
||||
/// StatementColumnConvertible. It *may* trigger SQLite built-in conversions
|
||||
/// (see https://www.sqlite.org/datatype3.html).
|
||||
public func value<Value: protocol<DatabaseValueConvertible, SQLiteStatementConvertible>>(named columnName: String) -> Value {
|
||||
public func value<Value: protocol<DatabaseValueConvertible, StatementColumnConvertible>>(named columnName: String) -> Value {
|
||||
guard let index = impl.indexOfColumn(named: columnName) else {
|
||||
fatalError("no such column: \(columnName)")
|
||||
}
|
||||
|
||||
+6
-6
@@ -1,13 +1,13 @@
|
||||
/// When a type adopts both DatabaseValueConvertible and
|
||||
/// SQLiteStatementConvertible, it is granted with faster access to the SQLite
|
||||
/// StatementColumnConvertible, it is granted with faster access to the SQLite
|
||||
/// database values.
|
||||
public protocol SQLiteStatementConvertible {
|
||||
public protocol StatementColumnConvertible {
|
||||
|
||||
/// Returns a value initialized from a raw SQLite statement pointer.
|
||||
///
|
||||
/// As an example, here is the how Int64 adopts SQLiteStatementConvertible:
|
||||
/// As an example, here is the how Int64 adopts StatementColumnConvertible:
|
||||
///
|
||||
/// extension Int64: SQLiteStatementConvertible {
|
||||
/// extension Int64: StatementColumnConvertible {
|
||||
/// public init(sqliteStatement: SQLiteStatement, index: Int32) {
|
||||
/// self = sqlite3_column_int64(sqliteStatement, index)
|
||||
/// }
|
||||
@@ -25,11 +25,11 @@ public protocol SQLiteStatementConvertible {
|
||||
|
||||
|
||||
/// Types that adopt both DatabaseValueConvertible and
|
||||
/// SQLiteStatementConvertible can be efficiently initialized from
|
||||
/// StatementColumnConvertible can be efficiently initialized from
|
||||
/// database values.
|
||||
///
|
||||
/// See DatabaseValueConvertible for more information.
|
||||
public extension DatabaseValueConvertible where Self: SQLiteStatementConvertible {
|
||||
public extension DatabaseValueConvertible where Self: StatementColumnConvertible {
|
||||
|
||||
|
||||
// MARK: - Fetching From SelectStatement
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+14
-14
@@ -1,5 +1,5 @@
|
||||
/// Bool adopts DatabaseValueConvertible and SQLiteStatementConvertible.
|
||||
extension Bool: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
/// Bool adopts DatabaseValueConvertible and StatementColumnConvertible.
|
||||
extension Bool: DatabaseValueConvertible, StatementColumnConvertible {
|
||||
|
||||
/// Returns a value initialized from a raw SQLite statement pointer.
|
||||
///
|
||||
@@ -84,8 +84,8 @@ extension Bool: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
/// Int adopts DatabaseValueConvertible and SQLiteStatementConvertible.
|
||||
extension Int: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
/// Int adopts DatabaseValueConvertible and StatementColumnConvertible.
|
||||
extension Int: DatabaseValueConvertible, StatementColumnConvertible {
|
||||
|
||||
/// Returns a value initialized from a raw SQLite statement pointer.
|
||||
///
|
||||
@@ -114,8 +114,8 @@ extension Int: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
/// Int32 adopts DatabaseValueConvertible and SQLiteStatementConvertible.
|
||||
extension Int32: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
/// Int32 adopts DatabaseValueConvertible and StatementColumnConvertible.
|
||||
extension Int32: DatabaseValueConvertible, StatementColumnConvertible {
|
||||
|
||||
/// Returns a value initialized from a raw SQLite statement pointer.
|
||||
///
|
||||
@@ -144,8 +144,8 @@ extension Int32: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
/// Int64 adopts DatabaseValueConvertible and SQLiteStatementConvertible.
|
||||
extension Int64: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
/// Int64 adopts DatabaseValueConvertible and StatementColumnConvertible.
|
||||
extension Int64: DatabaseValueConvertible, StatementColumnConvertible {
|
||||
|
||||
/// Returns a value initialized from a raw SQLite statement pointer.
|
||||
///
|
||||
@@ -174,8 +174,8 @@ extension Int64: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
/// Double adopts DatabaseValueConvertible and SQLiteStatementConvertible.
|
||||
extension Double: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
/// Double adopts DatabaseValueConvertible and StatementColumnConvertible.
|
||||
extension Double: DatabaseValueConvertible, StatementColumnConvertible {
|
||||
|
||||
/// Returns a value initialized from a raw SQLite statement pointer.
|
||||
///
|
||||
@@ -204,8 +204,8 @@ extension Double: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
/// Float adopts DatabaseValueConvertible and SQLiteStatementConvertible.
|
||||
extension Float: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
/// Float adopts DatabaseValueConvertible and StatementColumnConvertible.
|
||||
extension Float: DatabaseValueConvertible, StatementColumnConvertible {
|
||||
|
||||
/// Returns a value initialized from a raw SQLite statement pointer.
|
||||
///
|
||||
@@ -234,8 +234,8 @@ extension Float: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
/// String adopts DatabaseValueConvertible and SQLiteStatementConvertible.
|
||||
extension String: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
/// String adopts DatabaseValueConvertible and StatementColumnConvertible.
|
||||
extension String: DatabaseValueConvertible, StatementColumnConvertible {
|
||||
|
||||
/// Returns a value initialized from a raw SQLite statement pointer.
|
||||
///
|
||||
@@ -369,7 +369,7 @@ extension Optional where Wrapped: DatabaseValueConvertible {
|
||||
}
|
||||
|
||||
|
||||
extension DatabaseValueConvertible where Self: SQLiteStatementConvertible {
|
||||
extension DatabaseValueConvertible where Self: StatementColumnConvertible {
|
||||
|
||||
// MARK: Fetching From FetchRequest
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -24,8 +24,8 @@ Not sure:
|
||||
|
||||
Require changes in the Swift language:
|
||||
|
||||
- [ ] Turn DatabaseIntRepresentable and DatabaseStringRepresentable into SQLiteStatementConvertible when Swift allows for it.
|
||||
- [ ] Specific and optimized Optional<SQLiteStatementConvertible>.fetch... methods when http://openradar.appspot.com/22852669 is fixed.
|
||||
- [ ] Turn DatabaseIntRepresentable and DatabaseStringRepresentable into StatementColumnConvertible when Swift allows for it.
|
||||
- [ ] Specific and optimized Optional<StatementColumnConvertible>.fetch... methods when http://openradar.appspot.com/22852669 is fixed.
|
||||
|
||||
|
||||
Requires recompilation of SQLite:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import XCTest
|
||||
import GRDB
|
||||
|
||||
// A type that adopts DatabaseValueConvertible but does not adopt SQLiteStatementConvertible
|
||||
// A type that adopts DatabaseValueConvertible but does not adopt StatementColumnConvertible
|
||||
struct WrappedInt: DatabaseValueConvertible {
|
||||
let int: Int
|
||||
init(int: Int) {
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
import XCTest
|
||||
import GRDB
|
||||
|
||||
// A type that adopts DatabaseValueConvertible and SQLiteStatementConvertible
|
||||
struct FastWrappedInt: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
// A type that adopts DatabaseValueConvertible and StatementColumnConvertible
|
||||
struct FastWrappedInt: DatabaseValueConvertible, StatementColumnConvertible {
|
||||
let int: Int
|
||||
let fast: Bool
|
||||
|
||||
@@ -27,7 +27,7 @@ struct FastWrappedInt: DatabaseValueConvertible, SQLiteStatementConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
class SQLiteStatementConvertibleFetchTests: GRDBTestCase {
|
||||
class StatementColumnConvertibleFetchTests: GRDBTestCase {
|
||||
|
||||
func testSlowConversion() {
|
||||
let slow = FastWrappedInt.fromDatabaseValue(0.databaseValue)!
|
||||
|
||||
@@ -63,7 +63,7 @@ class RecordWithRowIDPrimaryKeyNotExposedInPersistentDictionary : Record {
|
||||
}
|
||||
}
|
||||
|
||||
// A type that adopts DatabaseValueConvertible but does not adopt SQLiteStatementConvertible
|
||||
// A type that adopts DatabaseValueConvertible but does not adopt StatementColumnConvertible
|
||||
struct IntConvertible: DatabaseValueConvertible {
|
||||
let int: Int
|
||||
init(int: Int) {
|
||||
@@ -656,9 +656,9 @@ class CrashTests: GRDBTestCase {
|
||||
|
||||
|
||||
// =========================================================================
|
||||
// MARK: - SQLiteStatementConvertible
|
||||
// MARK: - StatementColumnConvertible
|
||||
|
||||
func testCrashFetchSQLiteStatementConvertibleFromStatement() {
|
||||
func testCrashFetchStatementColumnConvertibleFromStatement() {
|
||||
assertCrash("could not convert NULL to Int.") {
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE TABLE ints (int Int)")
|
||||
@@ -672,7 +672,7 @@ class CrashTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testCrashFetchAllSQLiteStatementConvertibleFromStatement() {
|
||||
func testCrashFetchAllStatementColumnConvertibleFromStatement() {
|
||||
assertCrash("could not convert NULL to Int.") {
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE TABLE ints (int Int)")
|
||||
@@ -685,7 +685,7 @@ class CrashTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testCrashFetchSQLiteStatementConvertibleFromDatabase() {
|
||||
func testCrashFetchStatementColumnConvertibleFromDatabase() {
|
||||
assertCrash("could not convert NULL to Int.") {
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE TABLE ints (int Int)")
|
||||
@@ -698,7 +698,7 @@ class CrashTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testCrashFetchAllSQLiteStatementConvertibleFromDatabase() {
|
||||
func testCrashFetchAllStatementColumnConvertibleFromDatabase() {
|
||||
assertCrash("could not convert NULL to Int.") {
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE TABLE ints (int Int)")
|
||||
|
||||
Reference in new issue
Block a user