mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Nicer WHERE, HAVING and ON output
This commit is contained in:
1 parent
b6b1f9b3e8
commit
680f3ad20c
19 files changed
+152
-158
No files matched your search
@@ -373,7 +373,7 @@ extension QueryInterfaceRequest {
|
||||
// Prevent information loss
|
||||
GRDBPrecondition(!query.isDistinct, "Not implemented: join distinct queries")
|
||||
GRDBPrecondition(query.groupPromise == nil, "Can't join aggregated queries")
|
||||
GRDBPrecondition(query.havingExpression == nil, "Can't join aggregated queries")
|
||||
GRDBPrecondition(query.havingExpressions.isEmpty, "Can't join aggregated queries")
|
||||
GRDBPrecondition(query.limit == nil, "Can't join limited queries")
|
||||
|
||||
return query.relation
|
||||
|
||||
Reference in new issue
Block a user