mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Aliasing is not qualifying
This commit is contained in:
1 parent
0dd345eb91
commit
de52856cf3
4 files changed
+8
-10
No files matched your search
@@ -19,10 +19,8 @@ extension SQLQuery: Refinable {
|
||||
with(\.limit, SQLLimit(limit: limit, offset: offset))
|
||||
}
|
||||
|
||||
func qualified(with alias: TableAlias) -> Self {
|
||||
// We do not need to qualify group and having clauses. They will be
|
||||
// in SQLQueryGenerator.init()
|
||||
map(\.relation) { $0.qualified(with: alias) }
|
||||
func aliased(_ alias: TableAlias) -> Self {
|
||||
map(\.relation) { $0.aliased(alias) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user