ITADN

Rename SQLRaw to SQLUnsafeRaw and SQLRawBuilder to SQLUnsafeRawBuilder

#189Pull Requestgwynne 创建于 2025-04-16
semver-minor
G
gwynnecommented
We really want to emphasize as much as possible that using raw SQL is unsafe. These changes also match up with the same renames in the Fluent 5 version of SQLKit. The original `SQLRaw` and `SQLRawBuilder` names are preserved as a deprecated `typealias`, as is the original `SQLDatabase.raw(_:)` spelling of what is now the `SQLDatabase.unsafeRaw(_:)` method.
合并状态:未合并 1 条评论