mirror of
https://github.com/jackc/pgx.git
synced 2025-04-27 21:25:53 +00:00
Fix typo
This commit is contained in:
parent
8eb062f588
commit
24c53259f8
2
rows.go
2
rows.go
@ -555,7 +555,7 @@ func RowToStructByName[T any](row CollectableRow) (T, error) {
|
|||||||
return value, err
|
return value, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// RowToAddrOfStructByPos returns the address of a T scanned from row. T must be a struct. T must have the same number
|
// RowToAddrOfStructByName returns the address of a T scanned from row. T must be a struct. T must have the same number
|
||||||
// of named public fields as row has fields. The row and T fields will by matched by name. The match is
|
// of named public fields as row has fields. The row and T fields will by matched by name. The match is
|
||||||
// case-insensitive. The database column name can be overridden with a "db" struct tag. If the "db" struct tag is "-"
|
// case-insensitive. The database column name can be overridden with a "db" struct tag. If the "db" struct tag is "-"
|
||||||
// then the field will be ignored.
|
// then the field will be ignored.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user