Documentation
¶
Index ¶
- func ScanBool(value *bool) any
- func ScanInt(value *int) any
- func ScanInt64(value *int64) any
- func ScanJSONToStructList[T any](list *[]*T) any
- func ScanLookupList(value *[]*_go.Lookup) any
- func ScanRelatedCaseLookup(value **_go.RelatedCaseLookup) any
- func ScanRowExtendedLookup(value **_go.ExtendedLookup) any
- func ScanRowLookup(value **_go.Lookup) any
- func ScanText(value *string) any
- func ScanTimestamp(ref *int64) any
- type ScanFunc
- type TextDecoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScanJSONToStructList ¶
ScanJSONToStructList scans a JSON array into a slice of structs.
func ScanLookupList ¶
func ScanRelatedCaseLookup ¶
func ScanRelatedCaseLookup(value **_go.RelatedCaseLookup) any
func ScanRowExtendedLookup ¶
func ScanRowExtendedLookup(value **_go.ExtendedLookup) any
func ScanRowLookup ¶
func ScanTimestamp ¶
Types ¶
type TextDecoder ¶
func GetCompositeTextScanFunction ¶
func GetCompositeTextScanFunction[T any](subScanPlan []func(*T) any, into *[]*T, callback func() error) TextDecoder
func (TextDecoder) DecodeText ¶
func (dec TextDecoder) DecodeText(_ *pgtype.ConnInfo, src []byte) error
func (TextDecoder) Scan ¶
func (dec TextDecoder) Scan(src any) error
Click to show internal directories.
Click to hide internal directories.