mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Rename QueryInterfaceQuery to SQLSelectQuery
This commit is contained in:
1 parent
89dda44364
commit
40f6b351ea
8 files changed
+54
-51
No files matched your search
@@ -27,8 +27,6 @@
|
||||
5605F1881C69111300235C62 /* DatabaseRegionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1861C69111300235C62 /* DatabaseRegionTests.swift */; };
|
||||
5605F18D1C6B1A8700235C62 /* SQLCollatedExpression.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1891C6B1A8700235C62 /* SQLCollatedExpression.swift */; };
|
||||
5605F18E1C6B1A8700235C62 /* SQLCollatedExpression.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1891C6B1A8700235C62 /* SQLCollatedExpression.swift */; };
|
||||
5605F1931C6B1A8700235C62 /* QueryInterfaceQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */; };
|
||||
5605F1941C6B1A8700235C62 /* QueryInterfaceQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */; };
|
||||
56071A411DB54ED000CA6E47 /* FetchedRecordsControllerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B15D0A1CD4C35100A24C8B /* FetchedRecordsControllerTests.swift */; };
|
||||
5607EFD41BB827FD00605DE3 /* TransactionObserverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */; };
|
||||
560A37A41C8F625000949E71 /* DatabasePool.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560A37A31C8F625000949E71 /* DatabasePool.swift */; };
|
||||
@@ -318,7 +316,6 @@
|
||||
565490D91D5AE252005622CB /* Migration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4391BEB42D500E39BBF /* Migration.swift */; };
|
||||
565490DA1D5AE252005622CB /* QueryInterfaceRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */; };
|
||||
565490DB1D5AE252005622CB /* SQLCollatedExpression.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1891C6B1A8700235C62 /* SQLCollatedExpression.swift */; };
|
||||
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 /* PersistableRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 560D92441C672C4B00F4F92B /* PersistableRecord.swift */; };
|
||||
@@ -728,6 +725,9 @@
|
||||
56D91AA92205F2F100770D8D /* DatabasePromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AA82205F2F000770D8D /* DatabasePromise.swift */; };
|
||||
56D91AAA2205F2F100770D8D /* DatabasePromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AA82205F2F000770D8D /* DatabasePromise.swift */; };
|
||||
56D91AAB2205F2F100770D8D /* DatabasePromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AA82205F2F000770D8D /* DatabasePromise.swift */; };
|
||||
56D91AB02205F8AC00770D8D /* SQLSelectQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AAF2205F8AC00770D8D /* SQLSelectQuery.swift */; };
|
||||
56D91AB12205F8AC00770D8D /* SQLSelectQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AAF2205F8AC00770D8D /* SQLSelectQuery.swift */; };
|
||||
56D91AB22205F8AC00770D8D /* SQLSelectQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AAF2205F8AC00770D8D /* SQLSelectQuery.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 */; };
|
||||
@@ -909,7 +909,6 @@
|
||||
5605F1581C672E4000235C62 /* StandardLibrary.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StandardLibrary.swift; sourceTree = "<group>"; };
|
||||
5605F1861C69111300235C62 /* DatabaseRegionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseRegionTests.swift; sourceTree = "<group>"; };
|
||||
5605F1891C6B1A8700235C62 /* SQLCollatedExpression.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLCollatedExpression.swift; sourceTree = "<group>"; };
|
||||
5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceQuery.swift; sourceTree = "<group>"; };
|
||||
5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TransactionObserverTests.swift; sourceTree = "<group>"; };
|
||||
560A37A31C8F625000949E71 /* DatabasePool.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabasePool.swift; sourceTree = "<group>"; };
|
||||
560A37A61C8FF6E500949E71 /* SerializedDatabase.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SerializedDatabase.swift; sourceTree = "<group>"; };
|
||||
@@ -1212,6 +1211,7 @@
|
||||
56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+TableRecord.swift"; sourceTree = "<group>"; };
|
||||
56D91AA12205E03700770D8D /* SQLRelation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLRelation.swift; sourceTree = "<group>"; };
|
||||
56D91AA82205F2F000770D8D /* DatabasePromise.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabasePromise.swift; sourceTree = "<group>"; };
|
||||
56D91AAF2205F8AC00770D8D /* SQLSelectQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLSelectQuery.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>"; };
|
||||
@@ -1523,7 +1523,6 @@
|
||||
56D91AA82205F2F000770D8D /* DatabasePromise.swift */,
|
||||
56CEB5101EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift */,
|
||||
56CEB5181EAA328900BFAF62 /* FTS5+QueryInterface.swift */,
|
||||
5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */,
|
||||
56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */,
|
||||
5653EB242094A14400F46237 /* QueryInterfaceRequest+Association.swift */,
|
||||
5616AAF0207CD45E00AC3664 /* RequestProtocols.swift */,
|
||||
@@ -1537,6 +1536,7 @@
|
||||
56D91AA12205E03700770D8D /* SQLRelation.swift */,
|
||||
56CEB5441EAA359A00BFAF62 /* SQLSelectable.swift */,
|
||||
566475A11D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift */,
|
||||
56D91AAF2205F8AC00770D8D /* SQLSelectQuery.swift */,
|
||||
566475B91D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift */,
|
||||
566475C91D981D5E00FF74B8 /* Support */,
|
||||
566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */,
|
||||
@@ -2491,6 +2491,7 @@
|
||||
5613ED4621A95B2C00DC7A68 /* ValueReducer.swift in Sources */,
|
||||
5698AD1C1DAAD17F0056AF8C /* FTS5Tokenizer.swift in Sources */,
|
||||
56CEB5171EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift in Sources */,
|
||||
56D91AB22205F8AC00770D8D /* SQLSelectQuery.swift in Sources */,
|
||||
56B964B71DA51D010002DA19 /* FTS5TokenizerDescriptor.swift in Sources */,
|
||||
5613ED5221A95C6D00DC7A68 /* ValueObservation+DatabaseValueConvertible.swift in Sources */,
|
||||
5653EB0B20944C7C00F46237 /* Association.swift in Sources */,
|
||||
@@ -2582,7 +2583,6 @@
|
||||
565490D31D5AE252005622CB /* (null) in Sources */,
|
||||
566475D91D981D5E00FF74B8 /* SQLOperators.swift in Sources */,
|
||||
566B910F1FA4C3970012D5B0 /* Database+Statements.swift in Sources */,
|
||||
565490DE1D5AE252005622CB /* QueryInterfaceQuery.swift in Sources */,
|
||||
56F5ABDD1D814330001F60CB /* UUID.swift in Sources */,
|
||||
565490CB1D5AE252005622CB /* (null) in Sources */,
|
||||
563EF417215F87EB007DAACD /* OrderedDictionary.swift in Sources */,
|
||||
@@ -2683,7 +2683,7 @@
|
||||
5674A7081F307FCD0095F066 /* DatabaseValueConvertible+ReferenceConvertible.swift in Sources */,
|
||||
56A2388C1B9C75030082EB20 /* Statement.swift in Sources */,
|
||||
5659F4931EA8D964004A4992 /* ReadWriteBox.swift in Sources */,
|
||||
5605F1941C6B1A8700235C62 /* QueryInterfaceQuery.swift in Sources */,
|
||||
56D91AB12205F8AC00770D8D /* SQLSelectQuery.swift in Sources */,
|
||||
56B7F43B1BEB42D500E39BBF /* Migration.swift in Sources */,
|
||||
5690C3431D23E82A00E59934 /* Data.swift in Sources */,
|
||||
5674A7001F307F600095F066 /* FetchableRecord+Decodable.swift in Sources */,
|
||||
@@ -3110,6 +3110,7 @@
|
||||
files = (
|
||||
56873BEC1F2CB400004D24B4 /* Fixits-1.2.swift in Sources */,
|
||||
563EF42D2161180D007DAACD /* AssociationAggregate.swift in Sources */,
|
||||
56D91AB02205F8AC00770D8D /* SQLSelectQuery.swift in Sources */,
|
||||
5613ED4C21A95C4300DC7A68 /* ValueObservation+FetchableRecord.swift in Sources */,
|
||||
56BF6D3D1DEF47DA006039A3 /* Fixits-Swift2.swift in Sources */,
|
||||
5616AAF1207CD45E00AC3664 /* RequestProtocols.swift in Sources */,
|
||||
@@ -3187,7 +3188,6 @@
|
||||
56D91AA92205F2F100770D8D /* DatabasePromise.swift in Sources */,
|
||||
560A37A41C8F625000949E71 /* DatabasePool.swift in Sources */,
|
||||
56B7F43A1BEB42D500E39BBF /* Migration.swift in Sources */,
|
||||
5605F1931C6B1A8700235C62 /* QueryInterfaceQuery.swift in Sources */,
|
||||
5613ED3521A95A5C00DC7A68 /* ValueObservation+Map.swift in Sources */,
|
||||
566B912B1FA4D0CC0012D5B0 /* StatementAuthorizer.swift in Sources */,
|
||||
56A2388B1B9C75030082EB20 /* Statement.swift in Sources */,
|
||||
|
||||
@@ -317,7 +317,7 @@ extension Association where OriginRowDecoder: MutablePersistableRecord {
|
||||
|
||||
// Turn the association query into a query interface request:
|
||||
// JOIN association -> SELECT FROM association
|
||||
return QueryInterfaceRequest(query: QueryInterfaceQuery(relation: relation))
|
||||
return QueryInterfaceRequest(query: SQLSelectQuery(relation: relation))
|
||||
|
||||
// Turn the JOIN condition into a regular WHERE condition
|
||||
.filter { db in
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
///
|
||||
/// See https://github.com/groue/GRDB.swift#the-query-interface
|
||||
public struct QueryInterfaceRequest<T> {
|
||||
let query: QueryInterfaceQuery
|
||||
let query: SQLSelectQuery
|
||||
}
|
||||
|
||||
extension QueryInterfaceRequest : FetchRequest {
|
||||
@@ -285,7 +285,7 @@ extension TableRecord {
|
||||
let relation = SQLRelation(
|
||||
source: .table(tableName: databaseTableName, alias: nil),
|
||||
selection: databaseSelection)
|
||||
let query = QueryInterfaceQuery(relation: relation)
|
||||
let query = SQLSelectQuery(relation: relation)
|
||||
return QueryInterfaceRequest(query: query)
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ public struct SQLGenerationContext {
|
||||
qualifierNeeded: false)
|
||||
}
|
||||
|
||||
/// Used for QueryInterfaceQuery.makeSelectStatement() and QueryInterfaceQuery.makeDeleteStatement()
|
||||
/// Used for SQLSelectQuery.makeSelectStatement() and SQLSelectQuery.makeDeleteStatement()
|
||||
static func queryGenerationContext(aliases: [TableAlias]) -> SQLGenerationContext {
|
||||
return SQLGenerationContext(
|
||||
arguments: [],
|
||||
|
||||
@@ -125,6 +125,12 @@ extension SQLRelation {
|
||||
return relation
|
||||
}
|
||||
|
||||
func annotated(with selection: [SQLSelectable]) -> SQLRelation {
|
||||
var relation = self
|
||||
relation.selection.append(contentsOf: selection)
|
||||
return relation
|
||||
}
|
||||
|
||||
func filter(_ predicate: @escaping (Database) throws -> SQLExpressible) -> SQLRelation {
|
||||
var relation = self
|
||||
relation.filterPromise = relation.filterPromise.map { (db, filter) in
|
||||
|
||||
+24
-27
@@ -1,4 +1,5 @@
|
||||
struct QueryInterfaceQuery {
|
||||
/// The SQLSelectQuery generates SQL for query interface requests.
|
||||
struct SQLSelectQuery {
|
||||
var relation: SQLRelation
|
||||
var isDistinct: Bool
|
||||
var groupPromise: DatabasePromise<[SQLExpression]>?
|
||||
@@ -24,36 +25,32 @@ struct QueryInterfaceQuery {
|
||||
}
|
||||
}
|
||||
|
||||
extension QueryInterfaceQuery: SelectionRequest, FilteredRequest, OrderedRequest {
|
||||
func select(_ selection: [SQLSelectable]) -> QueryInterfaceQuery {
|
||||
extension SQLSelectQuery: SelectionRequest, FilteredRequest, OrderedRequest {
|
||||
func select(_ selection: [SQLSelectable]) -> SQLSelectQuery {
|
||||
return mapRelation { $0.select(selection) }
|
||||
}
|
||||
|
||||
func annotated(with selection: [SQLSelectable]) -> QueryInterfaceQuery {
|
||||
return mapRelation {
|
||||
var relation = $0
|
||||
relation.selection.append(contentsOf: selection)
|
||||
return relation
|
||||
}
|
||||
func annotated(with selection: [SQLSelectable]) -> SQLSelectQuery {
|
||||
return mapRelation { $0.annotated(with: selection) }
|
||||
}
|
||||
|
||||
func distinct() -> QueryInterfaceQuery {
|
||||
func distinct() -> SQLSelectQuery {
|
||||
var query = self
|
||||
query.isDistinct = true
|
||||
return query
|
||||
}
|
||||
|
||||
func filter(_ predicate: @escaping (Database) throws -> SQLExpressible) -> QueryInterfaceQuery {
|
||||
func filter(_ predicate: @escaping (Database) throws -> SQLExpressible) -> SQLSelectQuery {
|
||||
return mapRelation { $0.filter(predicate) }
|
||||
}
|
||||
|
||||
func group(_ expressions: @escaping (Database) throws -> [SQLExpressible]) -> QueryInterfaceQuery {
|
||||
func group(_ expressions: @escaping (Database) throws -> [SQLExpressible]) -> SQLSelectQuery {
|
||||
var query = self
|
||||
query.groupPromise = DatabasePromise { db in try expressions(db).map { $0.sqlExpression } }
|
||||
return query
|
||||
}
|
||||
|
||||
func having(_ predicate: SQLExpressible) -> QueryInterfaceQuery {
|
||||
func having(_ predicate: SQLExpressible) -> SQLSelectQuery {
|
||||
var query = self
|
||||
if let havingExpression = query.havingExpression {
|
||||
query.havingExpression = (havingExpression && predicate).sqlExpression
|
||||
@@ -63,42 +60,42 @@ extension QueryInterfaceQuery: SelectionRequest, FilteredRequest, OrderedRequest
|
||||
return query
|
||||
}
|
||||
|
||||
func order(_ orderings: @escaping (Database) throws -> [SQLOrderingTerm]) -> QueryInterfaceQuery {
|
||||
func order(_ orderings: @escaping (Database) throws -> [SQLOrderingTerm]) -> SQLSelectQuery {
|
||||
return mapRelation { $0.order(orderings) }
|
||||
}
|
||||
|
||||
func reversed() -> QueryInterfaceQuery {
|
||||
func reversed() -> SQLSelectQuery {
|
||||
return mapRelation { $0.reversed() }
|
||||
}
|
||||
|
||||
func unordered() -> QueryInterfaceQuery {
|
||||
func unordered() -> SQLSelectQuery {
|
||||
return mapRelation { $0.unordered() }
|
||||
}
|
||||
|
||||
func limit(_ limit: Int, offset: Int? = nil) -> QueryInterfaceQuery {
|
||||
func limit(_ limit: Int, offset: Int? = nil) -> SQLSelectQuery {
|
||||
var query = self
|
||||
query.limit = SQLLimit(limit: limit, offset: offset)
|
||||
return query
|
||||
}
|
||||
|
||||
func appendingJoin(_ join: Join, forKey key: String) -> QueryInterfaceQuery {
|
||||
func appendingJoin(_ join: Join, forKey key: String) -> SQLSelectQuery {
|
||||
return mapRelation { $0.appendingJoin(join, forKey: key) }
|
||||
}
|
||||
|
||||
func qualified(with alias: TableAlias) -> QueryInterfaceQuery {
|
||||
func qualified(with alias: TableAlias) -> SQLSelectQuery {
|
||||
return mapRelation { $0.qualified(with: alias) }
|
||||
}
|
||||
|
||||
private func mapRelation(_ transform: (SQLRelation) -> SQLRelation) -> QueryInterfaceQuery {
|
||||
private func mapRelation(_ transform: (SQLRelation) -> SQLRelation) -> SQLSelectQuery {
|
||||
var query = self
|
||||
query.relation = transform(relation)
|
||||
return query
|
||||
}
|
||||
}
|
||||
|
||||
extension QueryInterfaceQuery {
|
||||
extension SQLSelectQuery {
|
||||
/// A finalized query is ready for SQL generation
|
||||
var finalizedQuery: QueryInterfaceQuery {
|
||||
var finalizedQuery: SQLSelectQuery {
|
||||
var query = self
|
||||
|
||||
query.relation = query.relation.finalizedRelation
|
||||
@@ -124,7 +121,7 @@ extension QueryInterfaceQuery {
|
||||
}
|
||||
}
|
||||
|
||||
extension QueryInterfaceQuery {
|
||||
extension SQLSelectQuery {
|
||||
/// - precondition: self is the result of finalizedQuery
|
||||
func sql(_ db: Database, _ context: inout SQLGenerationContext) throws -> String {
|
||||
var sql = "SELECT"
|
||||
@@ -271,7 +268,7 @@ extension QueryInterfaceQuery {
|
||||
return databaseRegion.tableIntersection(canonicalTableName, rowIds: rowIds)
|
||||
}
|
||||
|
||||
private var countQuery: QueryInterfaceQuery {
|
||||
private var countQuery: SQLSelectQuery {
|
||||
guard groupPromise == nil && limit == nil else {
|
||||
// SELECT ... GROUP BY ...
|
||||
// SELECT ... LIMIT ...
|
||||
@@ -306,11 +303,11 @@ extension QueryInterfaceQuery {
|
||||
}
|
||||
|
||||
// SELECT COUNT(*) FROM (self)
|
||||
private var trivialCountQuery: QueryInterfaceQuery {
|
||||
private var trivialCountQuery: SQLSelectQuery {
|
||||
let relation = SQLRelation(
|
||||
source: .query(unordered()),
|
||||
selection: [SQLExpressionCount(AllColumns())])
|
||||
return QueryInterfaceQuery(relation: relation)
|
||||
return SQLSelectQuery(relation: relation)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -520,7 +517,7 @@ struct Join {
|
||||
|
||||
enum SQLSource {
|
||||
case table(tableName: String, alias: TableAlias?)
|
||||
indirect case query(QueryInterfaceQuery)
|
||||
indirect case query(SQLSelectQuery)
|
||||
|
||||
var alias: TableAlias? {
|
||||
switch self {
|
||||
@@ -25,7 +25,6 @@
|
||||
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 */; };
|
||||
560FC5351CB003810014AA8E /* Statement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238781B9C75030082EB20 /* Statement.swift */; };
|
||||
560FC5361CB003810014AA8E /* DatabaseMigrator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238921B9C750B0082EB20 /* DatabaseMigrator.swift */; };
|
||||
560FC5371CB003810014AA8E /* DatabaseSchemaCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5695311E1C907A8C00CF1A2B /* DatabaseSchemaCache.swift */; };
|
||||
@@ -705,7 +704,6 @@
|
||||
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 */; };
|
||||
56AFCA091CB1A8BB00F48B96 /* QueryInterfaceQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */; };
|
||||
56AFCA0A1CB1A8BB00F48B96 /* Migration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B7F4391BEB42D500E39BBF /* Migration.swift */; };
|
||||
56AFCA0B1CB1A8BB00F48B96 /* Row.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56A238761B9C75030082EB20 /* Row.swift */; };
|
||||
56AFCA0C1CB1A8BB00F48B96 /* DatabaseSchemaCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5695311E1C907A8C00CF1A2B /* DatabaseSchemaCache.swift */; };
|
||||
@@ -922,6 +920,8 @@
|
||||
56D91A9D2205DD5200770D8D /* SQLRelation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91A9B2205DD5200770D8D /* SQLRelation.swift */; };
|
||||
56D91AAD2205F30200770D8D /* DatabasePromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AAC2205F30200770D8D /* DatabasePromise.swift */; };
|
||||
56D91AAE2205F30200770D8D /* DatabasePromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AAC2205F30200770D8D /* DatabasePromise.swift */; };
|
||||
56D91AB42205F8C000770D8D /* SQLSelectQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AB32205F8C000770D8D /* SQLSelectQuery.swift */; };
|
||||
56D91AB52205F8C000770D8D /* SQLSelectQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56D91AB32205F8C000770D8D /* SQLSelectQuery.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 */; };
|
||||
@@ -1023,7 +1023,6 @@
|
||||
5605F1581C672E4000235C62 /* StandardLibrary.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StandardLibrary.swift; sourceTree = "<group>"; };
|
||||
5605F1861C69111300235C62 /* DatabaseRegionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseRegionTests.swift; sourceTree = "<group>"; };
|
||||
5605F1891C6B1A8700235C62 /* SQLCollatedExpression.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLCollatedExpression.swift; sourceTree = "<group>"; };
|
||||
5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceQuery.swift; sourceTree = "<group>"; };
|
||||
5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TransactionObserverTests.swift; sourceTree = "<group>"; };
|
||||
560A37A31C8F625000949E71 /* DatabasePool.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabasePool.swift; sourceTree = "<group>"; };
|
||||
560A37A61C8FF6E500949E71 /* SerializedDatabase.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SerializedDatabase.swift; sourceTree = "<group>"; };
|
||||
@@ -1304,6 +1303,7 @@
|
||||
56D51CFF1EA789FA0074638A /* FetchableRecord+TableRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FetchableRecord+TableRecord.swift"; sourceTree = "<group>"; };
|
||||
56D91A9B2205DD5200770D8D /* SQLRelation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLRelation.swift; sourceTree = "<group>"; };
|
||||
56D91AAC2205F30200770D8D /* DatabasePromise.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabasePromise.swift; sourceTree = "<group>"; };
|
||||
56D91AB32205F8C000770D8D /* SQLSelectQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLSelectQuery.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>"; };
|
||||
@@ -1606,7 +1606,6 @@
|
||||
56D91AAC2205F30200770D8D /* DatabasePromise.swift */,
|
||||
56CEB5101EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift */,
|
||||
56CEB5181EAA328900BFAF62 /* FTS5+QueryInterface.swift */,
|
||||
5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */,
|
||||
56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */,
|
||||
5653EBA120961FCA00F46237 /* QueryInterfaceRequest+Association.swift */,
|
||||
5616AAF8207CD5A900AC3664 /* RequestProtocols.swift */,
|
||||
@@ -1620,6 +1619,7 @@
|
||||
56D91A9B2205DD5200770D8D /* SQLRelation.swift */,
|
||||
56CEB5441EAA359A00BFAF62 /* SQLSelectable.swift */,
|
||||
566475A11D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift */,
|
||||
56D91AB32205F8C000770D8D /* SQLSelectQuery.swift */,
|
||||
566475B91D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift */,
|
||||
566475C91D981D5E00FF74B8 /* Support */,
|
||||
566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */,
|
||||
@@ -2317,6 +2317,7 @@
|
||||
files = (
|
||||
56873BED1F2CB400004D24B4 /* Fixits-1.2.swift in Sources */,
|
||||
563EF43C2161183E007DAACD /* AssociationAggregate.swift in Sources */,
|
||||
56D91AB42205F8C000770D8D /* SQLSelectQuery.swift in Sources */,
|
||||
56BF6D3E1DEF47DA006039A3 /* Fixits-Swift2.swift in Sources */,
|
||||
5616AAF9207CD5A900AC3664 /* RequestProtocols.swift in Sources */,
|
||||
5636E9BD1D22574100B9B05F /* FetchRequest.swift in Sources */,
|
||||
@@ -2393,7 +2394,6 @@
|
||||
560FC5321CB003810014AA8E /* DatabasePool.swift in Sources */,
|
||||
56D91AAD2205F30200770D8D /* DatabasePromise.swift in Sources */,
|
||||
560FC5331CB003810014AA8E /* Migration.swift in Sources */,
|
||||
560FC5341CB003810014AA8E /* QueryInterfaceQuery.swift in Sources */,
|
||||
566B912C1FA4D0CC0012D5B0 /* StatementAuthorizer.swift in Sources */,
|
||||
560FC5351CB003810014AA8E /* Statement.swift in Sources */,
|
||||
5690C3411D23E82A00E59934 /* Data.swift in Sources */,
|
||||
@@ -2804,6 +2804,7 @@
|
||||
files = (
|
||||
56873BF01F2CB400004D24B4 /* Fixits-1.2.swift in Sources */,
|
||||
563EF43D2161183E007DAACD /* AssociationAggregate.swift in Sources */,
|
||||
56D91AB52205F8C000770D8D /* SQLSelectQuery.swift in Sources */,
|
||||
56BF6D411DEF47DA006039A3 /* Fixits-Swift2.swift in Sources */,
|
||||
5616AAFA207CD5A900AC3664 /* RequestProtocols.swift in Sources */,
|
||||
5636E9C01D22574100B9B05F /* FetchRequest.swift in Sources */,
|
||||
@@ -2880,7 +2881,6 @@
|
||||
56AFCA071CB1A8BB00F48B96 /* DatabasePool.swift in Sources */,
|
||||
56D91AAE2205F30200770D8D /* DatabasePromise.swift in Sources */,
|
||||
56AFCA081CB1A8BB00F48B96 /* Statement.swift in Sources */,
|
||||
56AFCA091CB1A8BB00F48B96 /* QueryInterfaceQuery.swift in Sources */,
|
||||
566B912F1FA4D0CC0012D5B0 /* StatementAuthorizer.swift in Sources */,
|
||||
56AFCA0A1CB1A8BB00F48B96 /* Migration.swift in Sources */,
|
||||
5690C3441D23E82A00E59934 /* Data.swift in Sources */,
|
||||
|
||||
@@ -435,7 +435,7 @@
|
||||
F3BA80281CFB2891003DC1BA /* StandardLibrary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1581C672E4000235C62 /* StandardLibrary.swift */; };
|
||||
F3BA802B1CFB289B003DC1BA /* QueryInterfaceRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */; };
|
||||
F3BA802C1CFB289B003DC1BA /* SQLCollatedExpression.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1891C6B1A8700235C62 /* SQLCollatedExpression.swift */; };
|
||||
F3BA802F1CFB289B003DC1BA /* QueryInterfaceQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */; };
|
||||
F3BA802F1CFB289B003DC1BA /* SQLSelectQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* SQLSelectQuery.swift */; };
|
||||
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 */; };
|
||||
@@ -479,7 +479,7 @@
|
||||
F3BA80841CFB2E67003DC1BA /* StandardLibrary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1581C672E4000235C62 /* StandardLibrary.swift */; };
|
||||
F3BA80871CFB2E70003DC1BA /* QueryInterfaceRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */; };
|
||||
F3BA80881CFB2E70003DC1BA /* SQLCollatedExpression.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F1891C6B1A8700235C62 /* SQLCollatedExpression.swift */; };
|
||||
F3BA808B1CFB2E70003DC1BA /* QueryInterfaceQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */; };
|
||||
F3BA808B1CFB2E70003DC1BA /* SQLSelectQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5605F18C1C6B1A8700235C62 /* SQLSelectQuery.swift */; };
|
||||
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 */; };
|
||||
@@ -661,7 +661,7 @@
|
||||
5605F1581C672E4000235C62 /* StandardLibrary.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StandardLibrary.swift; sourceTree = "<group>"; };
|
||||
5605F1861C69111300235C62 /* DatabaseRegionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseRegionTests.swift; sourceTree = "<group>"; };
|
||||
5605F1891C6B1A8700235C62 /* SQLCollatedExpression.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLCollatedExpression.swift; sourceTree = "<group>"; };
|
||||
5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryInterfaceQuery.swift; sourceTree = "<group>"; };
|
||||
5605F18C1C6B1A8700235C62 /* SQLSelectQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SQLSelectQuery.swift; sourceTree = "<group>"; };
|
||||
5607EFD21BB8254800605DE3 /* TransactionObserverTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TransactionObserverTests.swift; sourceTree = "<group>"; };
|
||||
560A37A31C8F625000949E71 /* DatabasePool.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabasePool.swift; sourceTree = "<group>"; };
|
||||
560A37A61C8FF6E500949E71 /* SerializedDatabase.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SerializedDatabase.swift; sourceTree = "<group>"; };
|
||||
@@ -1214,7 +1214,6 @@
|
||||
56D91AA52205F2CF00770D8D /* DatabasePromise.swift */,
|
||||
56CEB5101EAA324B00BFAF62 /* FTS3+QueryInterfaceRequest.swift */,
|
||||
56CEB5181EAA328900BFAF62 /* FTS5+QueryInterface.swift */,
|
||||
5605F18C1C6B1A8700235C62 /* QueryInterfaceQuery.swift */,
|
||||
56300B6F1C53F592005A543B /* QueryInterfaceRequest.swift */,
|
||||
5653EB5320961F7D00F46237 /* QueryInterfaceRequest+Association.swift */,
|
||||
5616AAF4207CD59300AC3664 /* RequestProtocols.swift */,
|
||||
@@ -1228,6 +1227,7 @@
|
||||
56D91A9E2205E02300770D8D /* SQLRelation.swift */,
|
||||
56CEB5441EAA359A00BFAF62 /* SQLSelectable.swift */,
|
||||
566475A11D9810A400FF74B8 /* SQLSelectable+QueryInterface.swift */,
|
||||
5605F18C1C6B1A8700235C62 /* SQLSelectQuery.swift */,
|
||||
566475B91D981AD200FF74B8 /* SQLSpecificExpressible+QueryInterface.swift */,
|
||||
566475C91D981D5E00FF74B8 /* Support */,
|
||||
566AD8B11D5318F4002EC1A8 /* TableDefinition.swift */,
|
||||
@@ -2007,7 +2007,7 @@
|
||||
56B964B61DA51D010002DA19 /* FTS5TokenizerDescriptor.swift in Sources */,
|
||||
F3BA80171CFB2876003DC1BA /* RowAdapter.swift in Sources */,
|
||||
564CE4DB21B2DEEB00652B19 /* ValueObservation+CompactMap.swift in Sources */,
|
||||
F3BA802F1CFB289B003DC1BA /* QueryInterfaceQuery.swift in Sources */,
|
||||
F3BA802F1CFB289B003DC1BA /* SQLSelectQuery.swift in Sources */,
|
||||
56CEB5061EAA2F4D00BFAF62 /* FTS4.swift in Sources */,
|
||||
56CEB55F1EAA359A00BFAF62 /* SQLOrdering.swift in Sources */,
|
||||
F3BA80201CFB288C003DC1BA /* Date.swift in Sources */,
|
||||
@@ -2314,7 +2314,7 @@
|
||||
56B964B31DA51D010002DA19 /* FTS5TokenizerDescriptor.swift in Sources */,
|
||||
F3BA80731CFB2E55003DC1BA /* RowAdapter.swift in Sources */,
|
||||
564CE4DA21B2DEEB00652B19 /* ValueObservation+CompactMap.swift in Sources */,
|
||||
F3BA808B1CFB2E70003DC1BA /* QueryInterfaceQuery.swift in Sources */,
|
||||
F3BA808B1CFB2E70003DC1BA /* SQLSelectQuery.swift in Sources */,
|
||||
56CEB5031EAA2F4D00BFAF62 /* FTS4.swift in Sources */,
|
||||
56CEB55C1EAA359A00BFAF62 /* SQLOrdering.swift in Sources */,
|
||||
F3BA807C1CFB2E61003DC1BA /* Date.swift in Sources */,
|
||||
|
||||
Reference in new issue
Block a user