common

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigAlreadyRegistered = errors.New("an embedded engine configuration with this name already exists")
View Source
var ErrIsolationLevelNotSupported = errors.New("immudb currently does not support the requested isolation level")
View Source
var ErrNestedTxNotSupported = errors.New("nested transactions are currently not supported")
View Source
var ErrNoConfigRegistered = errors.New("the named embedded configuration was not registered")
View Source
var ErrNotImplemented = errors.New("the interface is not implemented")
View Source
var ErrReadOnlyTxNotSupported = errors.New("immudb currently does not support read only transactions")
View Source
var ErrTxAlreadyFinished = errors.New("the transaction has already been finished")

Functions

func ColumnTypeScanType

func ColumnTypeScanType(sqlValueType string) reflect.Type

ColumnTypeScanType returns the type of a go value into which a value of Type SQLValueType can be scanned.

func NamedValueToMapString

func NamedValueToMapString(args []driver.NamedValue) map[string]interface{}

NamedValueToMapString converts the arguments to a statement from the datastruct driver.NamedValue defined by sql.Driver to map[string]interface, which is expected by immuclient.

Types

This section is empty.

Jump to

Keyboard shortcuts

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