sqlitehelpers

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUniqueViolation added in v0.6.3

func IsUniqueViolation(err error) bool

func UnwrapNullString

func UnwrapNullString(s sql.NullString) *string

func UuidStrings

func UuidStrings(ids []uuid.UUID) []string

func WrapStringPointer

func WrapStringPointer(s *string) sql.NullString

Types

type Row

type Row interface {
	Scan(...interface{}) error
}

type StringSlice

type StringSlice []string

func (*StringSlice) Scan

func (s *StringSlice) Scan(src any) error

func (StringSlice) Value

func (s StringSlice) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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