postgres

package
v0.0.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityConfigRepository

type EntityConfigRepository struct {
	Database *db.Postgres
}

EntityConfigRepository -.

func NewEntityConfigRepository

func NewEntityConfigRepository(pg *db.Postgres) *EntityConfigRepository

NewEntityConfigRepository -.

func (*EntityConfigRepository) All

All -

func (*EntityConfigRepository) Migrate

func (r *EntityConfigRepository) Migrate() errors.Error

Migrate -

func (*EntityConfigRepository) Read

Read -

func (*EntityConfigRepository) Write

Write -

type RelationTupleRepository

type RelationTupleRepository struct {
	Database *db.Postgres
}

RelationTupleRepository -.

func NewRelationTupleRepository

func NewRelationTupleRepository(pg *db.Postgres) *RelationTupleRepository

NewRelationTupleRepository -.

func (*RelationTupleRepository) Delete

Delete -.

func (*RelationTupleRepository) Migrate

func (r *RelationTupleRepository) Migrate() errors.Error

Migrate -

func (*RelationTupleRepository) QueryTuples

func (r *RelationTupleRepository) QueryTuples(ctx context.Context, entity string, entityID string, relation string) (entities.RelationTuples, errors.Error)

QueryTuples -

func (*RelationTupleRepository) Read

Read -.

func (*RelationTupleRepository) ReverseQueryTuples

func (r *RelationTupleRepository) ReverseQueryTuples(ctx context.Context, entity string, relation string, subjectEntity string, subjectIDs []string, subjectRelation string) (entities.RelationTuples, errors.Error)

ReverseQueryTuples -

func (*RelationTupleRepository) Write

Write -.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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