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