storagecollections

package
v0.0.0-...-cbe41fb Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestCollectionSuite

func TestCollectionSuite(
	postgrescli *storagepostgres.PostgresDb,
	modelProject *appmodelprojects.ModelProject,
) (*appmodelcollections.ModelCollection, error)

Types

type CollectionCURD

type CollectionCURD struct {
	*storagepostgres.PostgresDb
}

func NewCollectionCURD

func NewCollectionCURD(db *storagepostgres.PostgresDb) *CollectionCURD

func (*CollectionCURD) AutoMigrate

func (c *CollectionCURD) AutoMigrate() error

func (*CollectionCURD) GetLatestSchema

func (*CollectionCURD) ListByProjectID

func (*CollectionCURD) Update

func (c *CollectionCURD) Update(ctx context.Context, tableName string, record *appmodelcollections.ModelCollection) error

func (*CollectionCURD) Write

func (c *CollectionCURD) Write(ctx context.Context, tableName string, record *appmodelcollections.ModelCollection) error

Jump to

Keyboard shortcuts

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