Versions in this module Expand all Collapse all v1 v1.3.0 Aug 28, 2026 v1.2.0 Aug 18, 2026 Changes in this version + type Aggregate struct + CombineFunc id.Function + FinalFunc id.Function + HasInitCond bool + ID id.Function + InitCond string + ReturnType id.Type + SFunc id.Function + SType id.Type + func DeserializeAggregate(ctx context.Context, data []byte) (Aggregate, error) + func (aggregate Aggregate) GetID() id.Id + func (aggregate Aggregate) GetRootObjectID() objinterface.RootObjectID + func (aggregate Aggregate) HashOf(ctx context.Context) (hash.Hash, error) + func (aggregate Aggregate) Name() doltdb.TableName + func (aggregate Aggregate) Serialize(ctx context.Context) ([]byte, error) + type Collection struct + func LoadAggregates(ctx context.Context, root objinterface.RootValue) (*Collection, error) + func NewCollection(ctx context.Context, rom objinterface.RootObjectMap) *Collection + func (*Collection) HandleMerge(ctx context.Context, mro merge.MergeRootObject) (doltdb.RootObject, *merge.MergeStats, error) + func (*Collection) LoadCollection(ctx context.Context, root objinterface.RootValue) (objinterface.Collection, error) + func (*Collection) ResolveNameFromObjects(ctx context.Context, name doltdb.TableName, ...) (doltdb.TableName, id.Id, error) + func (*Collection) Serializer() objinterface.RootObjectSerializer + func (pga *Collection) AddAggregate(ctx context.Context, a Aggregate) error + func (pga *Collection) DeserializeRootObject(ctx context.Context, data []byte) (objinterface.RootObject, error) + func (pga *Collection) DiffRootObjects(ctx context.Context, fromHash string, ours objinterface.RootObject, ...) ([]objinterface.RootObjectDiff, objinterface.RootObject, error) + func (pga *Collection) DropAggregate(ctx context.Context, aggregateIDs ...id.Function) error + func (pga *Collection) DropRootObject(ctx context.Context, identifier id.Id) error + func (pga *Collection) GetAggregate(ctx context.Context, aggregateID id.Function) (Aggregate, error) + func (pga *Collection) GetAggregateOverloads(ctx context.Context, aggregateID id.Function) ([]Aggregate, error) + func (pga *Collection) GetFieldType(ctx context.Context, fieldName string) *pgtypes.DoltgresType + func (pga *Collection) GetID() objinterface.RootObjectID + func (pga *Collection) GetRootObject(ctx context.Context, identifier id.Id) (objinterface.RootObject, bool, error) + func (pga *Collection) HasAggregate(ctx context.Context, aggregateID id.Function) bool + func (pga *Collection) HasAggregateName(ctx context.Context, name string) (bool, error) + func (pga *Collection) HasRootObject(ctx context.Context, identifier id.Id) (bool, error) + func (pga *Collection) IDToTableName(identifier id.Id) doltdb.TableName + func (pga *Collection) IterAll(ctx context.Context, ...) error + func (pga *Collection) IterIDs(ctx context.Context, callback func(identifier id.Id) (stop bool, err error)) error + func (pga *Collection) IterateAggregates(ctx context.Context, callback func(a Aggregate) (stop bool, err error)) error + func (pga *Collection) PutRootObject(ctx context.Context, rootObj objinterface.RootObject) error + func (pga *Collection) RenameRootObject(ctx context.Context, oldName id.Id, newName id.Id) error + func (pga *Collection) ResolveName(ctx context.Context, name doltdb.TableName) (doltdb.TableName, id.Id, error) + func (pga *Collection) TableNameToID(name doltdb.TableName) id.Id + func (pga *Collection) UpdateField(ctx context.Context, rootObject objinterface.RootObject, fieldName string, ...) (objinterface.RootObject, error)