storagedocuments

package
v0.0.0-...-a3884e5 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithEndedAt

func WithEndedAt(endedAt time.Time) withEndedAt

func WithLimitCount

func WithLimitCount(count int32) withLimit

func WithStartedAt

func WithStartedAt(startedAt time.Time) withStartedAt

Types

type DocumentCURD

type DocumentCURD struct {
	*storagepostgres.PostgresDb
}

func NewDocumentCURD

func NewDocumentCURD(db *storagepostgres.PostgresDb) *DocumentCURD

func (*DocumentCURD) AutoMigrate

func (c *DocumentCURD) AutoMigrate() error

func (*DocumentCURD) BatchWrite

func (c *DocumentCURD) BatchWrite(ctx context.Context, tableName string, records []*appmodeldocuments.ModelDocument) error

func (*DocumentCURD) Update

func (c *DocumentCURD) Update(ctx context.Context, tableName string, record *appmodeldocuments.ModelDocument) error

func (*DocumentCURD) Write

func (c *DocumentCURD) Write(ctx context.Context, tableName string, record *appmodeldocuments.ModelDocument) error

type QueryConditioner

type QueryConditioner interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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