First joins with CommonTableExpression

This commit is contained in:
Gwendal Roué committed 2020-11-29 19:05:12 +01:00
1 parent e1d3c1d7dc
commit 2bb9f5ce0d
8 files changed
+118 -4

No files matched your search

@@ -273,6 +273,9 @@ extension QueryInterfaceRequest: TableRequest {
// request.filter(keys: ...)
// request.orderByPrimaryKey()
return tableName
case .commonTableExpression:
#warning("TODO: is this ok?")
fatalError("Request is not based on a database table")
case .subquery:
// The only current use case for SQLSource.query is the
// "trivial count query" (see SQLQuery.countQuery):