Deprecate SQLExpressionLiteral, hide SQLSelectionLiteral, introduce SQLLiteral.sqlExpression and .sqlSelectable

This commit is contained in:
Gwendal Roué committed 2020-01-24 08:55:55 +01:00
1 parent d7ef314a15
commit 5e67ca5566
6 files changed
+133 -110

No files matched your search

@@ -212,7 +212,7 @@ extension QueryInterfaceRequest: SelectionRequest {
as type: RowDecoder.Type = RowDecoder.self)
-> QueryInterfaceRequest<RowDecoder>
{
return select(SQLSelectionLiteral(literal: sqlLiteral), as: type)
return select(sqlLiteral.sqlSelectable, as: type)
}
/// Creates a request which appends *selection*.