package
0.0.0-20230111045308-694567495a48
Repository: https://github.com/phogolabs/orm.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Args returns the arguments.
Columns returns the columns for given opts.
IsEmpty returns true if the value is empty.
IsNil returns true if the value is nil.
IteratorOf creates a new iterator.
NamedQuery returns the query renamed.
NewAllocator returns allocator for the given reflect.Type.
NewAllocatorPrimitive allocates primitive type.
NewAllocatorPtr wraps the underlying type with rowScan.
NewAllocatorStruct returns the a configuration for scanning an sql.Row into a struct.
Row scans one row to the given value.
Rows scans the given ColumnScanner (basically, sql.Row or sql.Rows) into the given slice.
Values scans a struct and returns the values associated with the columns provided.

# Variables

ErrOneRow is returned by Row scan when the query returns more than one row.

# Structs

Allocator allocates values.
Column information.
Iterator iterates over a struct fields.

# Interfaces

Readable provides a scannable interface.
Scanner is the interface that wraps the three sql.Rows methods used for scanning.