mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Rename QueryOrdering to SQLRelation.Ordering
This commit is contained in:
1 parent
5a942d7213
commit
9addac6f54
9 files changed
+100
-142
No files matched your search
@@ -3,14 +3,6 @@
|
||||
/// See https://github.com/groue/GRDB.swift#the-query-interface
|
||||
public struct QueryInterfaceRequest<T> {
|
||||
let query: QueryInterfaceQuery
|
||||
|
||||
init(query: QueryInterfaceQuery) {
|
||||
self.query = query
|
||||
}
|
||||
|
||||
init(relation: SQLRelation) {
|
||||
self.query = QueryInterfaceQuery(relation: relation)
|
||||
}
|
||||
}
|
||||
|
||||
extension QueryInterfaceRequest : FetchRequest {
|
||||
@@ -227,7 +219,7 @@ extension QueryInterfaceRequest : DerivableRequest, AggregatingRequest {
|
||||
}
|
||||
|
||||
extension QueryInterfaceRequest {
|
||||
/// Turns a request into a JoinQuery.
|
||||
/// Turns a request into a SQLRelation.
|
||||
///
|
||||
/// This method helps initializing associations:
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user