This commit is contained in:
Gwendal Roué committed 2021-03-28 10:20:35 +02:00
1 parent 2cb0baf88e
commit fa2c489ee4
1 file changed
+1 -1
+1 -1
View File
@@ -4143,7 +4143,7 @@ For extra index options, see [Create Indexes](#create-indexes) below.
t.column("score", .integer).check(sql: "score > 0")
```
Columns can also be defined with a raw sql String, or an [SQL literal] in which can safely embed raw values without any risk of syntax errors or SQL injection:
Columns can also be defined with a raw sql String, or an [SQL literal] in which you can safely embed raw values without any risk of syntax errors or SQL injection:
```swift
t.column(sql: "name TEXT")