utils

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterQueryForSelectBuilder

func FilterQueryForSelectBuilder(sl squirrel.SelectBuilder, filter *base.TupleFilter) squirrel.SelectBuilder

FilterQueryForSelectBuilder -

func FilterQueryForUpdateBuilder

func FilterQueryForUpdateBuilder(sl squirrel.UpdateBuilder, filter *base.TupleFilter) squirrel.UpdateBuilder

FilterQueryForUpdateBuilder -

func NewTransactionQuery

func NewTransactionQuery() string

NewTransactionQuery -

func Rollback added in v0.2.3

func Rollback(tx *sql.Tx, logger logger.Interface)

Rollback - Rollbacks a transaction and logs the error

func SnapshotQuery

func SnapshotQuery(sl squirrel.SelectBuilder, revision uint64) squirrel.SelectBuilder

SnapshotQuery -

Types

This section is empty.

Jump to

Keyboard shortcuts

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