SQLInterpolation.md

This commit is contained in:
Gwendal Roué committed 2019-02-21 23:10:06 +01:00
1 parent 8df8129743
commit 59cc1fef67
7 files changed
+393 -13

No files matched your search

@@ -133,6 +133,7 @@ extension SQLInterpolation {
/// SELECT * FROM player WHERE score = \(subQuery)
/// """
public mutating func appendInterpolation<T>(_ request: SQLRequest<T>) {
// TODO: test
sql += "(" + request.sql + ")"
arguments += request.arguments
}