Create and drop view

This commit is contained in:
Gwendal Roué authored and Gwendal Roué committed 2023-07-09 17:13:22 +02:00
1 parent 08fbd82ead
commit bebb751b3c
4 files changed
+238 -3

No files matched your search

@@ -38,6 +38,15 @@ extension SQLInterpolation {
appendInterpolation(type(of: record))
}
/// Appends a quoted identifier.
///
/// // INSERT INTO "group" ...
/// let tableName = "group"
/// let request: SQLRequest<Player> = "INSERT INTO \(identifier: tableName) ..."
public mutating func appendInterpolation(identifier: String) {
appendLiteral(identifier.quotedDatabaseIdentifier)
}
/// Appends the table name of the record.
///
/// // INSERT INTO player ...