mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
SQLInterpolation.md
This commit is contained in:
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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user