mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
SE-0242: Synthesize default values for the memberwise initializer
...and more initializers cleanup
This commit is contained in:
1 parent
7614f36bbd
commit
19061934ce
9 files changed
+11
-76
No files matched your search
@@ -30,11 +30,9 @@
|
||||
/// See https://github.com/groue/GRDB.swift#the-query-interface
|
||||
public struct QueryInterfaceRequest<T> {
|
||||
var query: SQLQuery
|
||||
|
||||
init(query: SQLQuery) {
|
||||
self.query = query
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
extension QueryInterfaceRequest {
|
||||
init(relation: SQLRelation) {
|
||||
self.init(query: SQLQuery(relation: relation))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user