types

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Real

type Real struct {
	Valid bool
	Float float32
}

func (*Real) Scan

func (f *Real) Scan(src any) error

Scan implements the database/sql Scanner interface.

type RealAccess

type RealAccess struct {
	pgtalk.ColumnInfo
	// contains filtered or unexported fields
}

func NewRealAccess

func NewRealAccess(
	info pgtalk.ColumnInfo,
	valueWriter func(dest any) any) RealAccess

func (RealAccess) AppendScannable

func (a RealAccess) AppendScannable(list []any) []any

AppendScannable is part of ColumnAccessor

func (RealAccess) Column

func (a RealAccess) Column() pgtalk.ColumnInfo

ColumnInfo is part of ColumnAccessor

func (RealAccess) FieldValueToScan

func (a RealAccess) FieldValueToScan(entity any) any

FieldValueToScan is part of ColumnAccessor

func (RealAccess) Get

func (a RealAccess) Get(values map[string]any) any

Get is part of ColumnAccessor

func (RealAccess) Set

func (a RealAccess) Set(value Real) RealAccess

Set is not (yet) part of ColumnAccessor

func (RealAccess) ValueToInsert

func (a RealAccess) ValueToInsert() any

ValueToInsert is part of ColumnAccessor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL