mongo

package
v0.0.0-alpha5 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: AGPL-3.0 Imports: 10 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.Mongo
}

EntityConfigRepository -.

func NewEntityConfigRepository

func NewEntityConfigRepository(mn *db.Mongo) *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.Mongo
}

RelationTupleRepository -.

func NewRelationTupleRepository

func NewRelationTupleRepository(mn *db.Mongo) *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, objectID string, relation string) (entities.RelationTuples, errors.Error)

QueryTuples -

func (*RelationTupleRepository) Read

Read -.

func (*RelationTupleRepository) ReverseQueryTuples

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

ReverseQueryTuples -

func (*RelationTupleRepository) Write

Write -.

Jump to

Keyboard shortcuts

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