mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Documentation: add @retroactive to Tagged extensions
This commit is contained in:
1 parent
495e76bb1a
commit
fa0985eb01
1 file changed
+4
-4
@@ -107,10 +107,10 @@ import GRDB
|
||||
import Tagged
|
||||
|
||||
// Add database support to Tagged values
|
||||
extension Tagged: SQLExpressible where RawValue: SQLExpressible { }
|
||||
extension Tagged: StatementBinding where RawValue: StatementBinding { }
|
||||
extension Tagged: StatementColumnConvertible where RawValue: StatementColumnConvertible { }
|
||||
extension Tagged: DatabaseValueConvertible where RawValue: DatabaseValueConvertible { }
|
||||
extension Tagged: @retroactive SQLExpressible where RawValue: SQLExpressible { }
|
||||
extension Tagged: @retroactive StatementBinding where RawValue: StatementBinding { }
|
||||
extension Tagged: @retroactive StatementColumnConvertible where RawValue: StatementColumnConvertible { }
|
||||
extension Tagged: @retroactive DatabaseValueConvertible where RawValue: DatabaseValueConvertible { }
|
||||
```
|
||||
|
||||
This makes it possible to use `Tagged` values in all the expected places:
|
||||
|
||||
Reference in new issue
Block a user