Documentation

This commit is contained in:
Gwendal Roué committed 2021-04-18 17:00:55 +02:00
1 parent 65b2fecdfc
commit 5996b64469
1 file changed
+1 -3
+1 -3
View File
@@ -528,9 +528,7 @@ Player.select(selection)
protocol SQLSpecificExpressible: SQLExpressible, SQLSelectable, SQLOrderingTerm { }
```
Use SQLSpecificExpressible when you want to operate on expressions without accepting types which are not directly related to SQL.
For example, the `length(_:)` GRDB function accepts SQLSpecificExpressible:
Use SQLSpecificExpressible when you want to operate on expressions, except [Int, String, Date] and other types which are not directly related to SQL. For example, the built-in `length(_:)` GRDB function accepts SQLSpecificExpressible:
```swift
/// The LENGTH SQL function