db

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBC

type DBC struct {
	// contains filtered or unexported fields
}

func NewDBC

func NewDBC(trail audit.AuditTrail) DBC

func (*DBC) Commit

func (d *DBC) Commit(system System, hook func())

func (*DBC) Log

func (d *DBC) Log(uid, operation string, OID schema.OID, component string, ID, name any, field string, before, after any, format string, fields ...any)

func (*DBC) Objects

func (d *DBC) Objects() []schema.Object

func (*DBC) Stash

func (d *DBC) Stash(list []schema.Object)

func (*DBC) Updated

func (d *DBC) Updated(oid schema.OID, field schema.Suffix, value any)

type System

type System interface {
	Update(oid schema.OID, field schema.Suffix, value any)
}

Jump to

Keyboard shortcuts

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