mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Fixit for SQLExpression.literal
This commit is contained in:
1 parent
d13968b753
commit
50f8bcec34
1 file changed
+6
@@ -103,3 +103,9 @@ extension SQLExpressionLiteral {
|
||||
@available(*, unavailable, renamed: "init(sql:arguments:)")
|
||||
public init(_ sql: String, arguments: StatementArguments? = nil) { preconditionFailure() }
|
||||
}
|
||||
|
||||
extension SQLExpression {
|
||||
@available(*, unavailable, message: "Use sqlLiteral property instead")
|
||||
public var literal: SQLExpressionLiteral { preconditionFailure() }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user