Documentation ¶
Index ¶
- type DB
- func (db *DB) GetObjectTypes(ctx context.Context) ([]*entry.ObjectType, error)
- func (db *DB) RemoveObjectTypeByID(ctx context.Context, objectTypeID umid.UMID) error
- func (db *DB) RemoveObjectTypesByIDs(ctx context.Context, objectTypeIDs []umid.UMID) error
- func (db *DB) UpdateObjectTypeCategoryName(ctx context.Context, objectTypeID umid.UMID, categoryName string) error
- func (db *DB) UpdateObjectTypeDescription(ctx context.Context, objectTypeID umid.UMID, description *string) error
- func (db *DB) UpdateObjectTypeName(ctx context.Context, objectTypeID umid.UMID, name string) error
- func (db *DB) UpdateObjectTypeOptions(ctx context.Context, objectTypeID umid.UMID, options *entry.ObjectOptions) error
- func (db *DB) UpsertObjectType(ctx context.Context, objectType *entry.ObjectType) error
- func (db *DB) UpsertObjectTypes(ctx context.Context, objectTypes []*entry.ObjectType) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetObjectTypes ¶
func (*DB) RemoveObjectTypeByID ¶
func (*DB) RemoveObjectTypesByIDs ¶
func (*DB) UpdateObjectTypeCategoryName ¶
func (*DB) UpdateObjectTypeDescription ¶
func (*DB) UpdateObjectTypeName ¶
func (*DB) UpdateObjectTypeOptions ¶
func (*DB) UpsertObjectType ¶
func (*DB) UpsertObjectTypes ¶
Click to show internal directories.
Click to hide internal directories.