Test SQLRequest interpolation

This commit is contained in:
Gwendal Roué committed 2019-02-22 13:28:58 +01:00
1 parent 62ba97f517
commit 22c2cfb4ea
3 files changed
+23 -2

No files matched your search

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