mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Cleanup
This commit is contained in:
1 parent
a3189f79b6
commit
8e2cdeebc3
3 files changed
+23
-22
No files matched your search
@@ -49,6 +49,15 @@ struct QueryInterfaceQuery {
|
||||
self.joins = joins
|
||||
}
|
||||
|
||||
init(_ query: AssociationQuery) {
|
||||
self.init(
|
||||
source: query.source,
|
||||
selection: query.selection,
|
||||
filterPromise: query.filterPromise,
|
||||
ordering: query.ordering,
|
||||
joins: query.joins)
|
||||
}
|
||||
|
||||
func sql(_ db: Database, _ context: inout SQLGenerationContext) throws -> String {
|
||||
var sql = "SELECT"
|
||||
|
||||
@@ -393,17 +402,6 @@ extension QueryInterfaceQuery {
|
||||
}
|
||||
}
|
||||
|
||||
extension QueryInterfaceQuery {
|
||||
init(_ query: AssociationQuery) {
|
||||
self.init(
|
||||
source: query.source,
|
||||
selection: query.selection,
|
||||
filterPromise: query.filterPromise,
|
||||
ordering: query.ordering,
|
||||
joins: query.joins)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - AssociationJoin
|
||||
|
||||
/// Not to be mismatched with SQL join operators (inner join, left join).
|
||||
|
||||
Reference in new issue
Block a user