Updated sql.Scan, sql.Value and Modifiers (markdown)

Vinícius Garcia 2023-07-01 23:14:53 -03:00
parent 84e032cf65
commit 98123966e6

@ -98,4 +98,4 @@ This registration should be performed inside your code before making any calls t
### Modifiers vs `sql.Scanner` and `sql.Valuer` interfaces
When using a Modifier, if that Modifier specifies a `Scan` function and the type of the attribute implements the `sql.Scanner` interface the method implementation will be ignored in favor of the Modifier implementation. The same is valid for the Modifier Value function when the type implements the `sql.Valuer` interface.
When using a Modifier, if that Modifier specifies a `Scan()` function and the type of the affected attribute implements the `sql.Scanner` interface the method implementation will be ignored in favor of the Modifier implementation. The same is valid for the Modifier `Value()` function when the type implements the `sql.Valuer` interface.