Versions in this module Expand all Collapse all v0 v0.9.0 Dec 17, 2024 v0.8.0 May 6, 2023 Changes in this version + func AddRow(tx *sql.Tx, row RowForWriting, rowId *int64, sql string) error + func FirstOnly(row RowForReading, dbrows *sql.Rows, noSuchRow error) error + func InsertValues(row RowForWriting) (values []interface{}, err error) + func ReadMultiple(tx *sql.Tx, row RowsForReading[T], consumer consume2.Consumer[T], sql string, ...) error + func ReadMultipleWithEtag(tx *sql.Tx, row RowsForReadingEtagSetter[T], consumer consume2.Consumer[T], ...) error + func ReadRows(row RowsForReading[T], dbrows *sql.Rows, consumer consume2.Consumer[T]) error + func ReadRowsWithEtag(row RowsForReadingEtagSetter[T], dbrows *sql.Rows, ...) error + func ReadSingle(tx *sql.Tx, row RowForReading, noSuchRow error, sql string, ...) error + func UpdateRow(tx *sql.Tx, row RowForWriting, sql string) error + func UpdateValues(row RowForWriting) (values []interface{}, err error) + type EtagSetter interface + SetEtag func(etag uint64) + Values func() []interface{} + type RowForReading interface + Ptrs func() []interface{} + Unmarshall func() error + type RowForWriting interface + Marshall func() error + Values func() []interface{} + type RowsForReading interface + ValueRead func() T + type RowsForReadingEtagSetter interface + type SimpleRow struct + func (s SimpleRow) Marshall() error + func (s SimpleRow) Unmarshall() error