Versions in this module Expand all Collapse all v0 v0.56.4 May 28, 2026 v0.56.3 May 26, 2026 Changes in this version + func CastIDToTableName(castID id.Cast) doltdb.TableName + func Init() map[id.Cast]Cast + type Cast struct + BuiltIn pgtypes.TypeCastFunction + CastType CastType + Function id.Function + ID id.Cast + UseInOut bool + func DeserializeCast(ctx context.Context, data []byte) (Cast, error) + func (cast Cast) Eval(ctx *sql.Context, val any, sourceType *pgtypes.DoltgresType, ...) (any, error) + func (cast Cast) GetID() id.Id + func (cast Cast) GetRootObjectID() objinterface.RootObjectID + func (cast Cast) HashOf(ctx context.Context) (hash.Hash, error) + func (cast Cast) Name() doltdb.TableName + func (cast Cast) Serialize(ctx context.Context) ([]byte, error) + type CastType uint8 + const CastType_Assignment + const CastType_Explicit + const CastType_Implicit + type Collection struct + func LoadCasts(ctx context.Context, root objinterface.RootValue) (*Collection, error) + func NewCollection(ctx context.Context, underlyingMap prolly.AddressMap, ns tree.NodeStore) (*Collection, error) + 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) LoadCollectionHash(ctx context.Context, root objinterface.RootValue) (hash.Hash, error) + func (*Collection) ResolveNameFromObjects(ctx context.Context, name doltdb.TableName, ...) (doltdb.TableName, id.Id, error) + func (*Collection) Serializer() objinterface.RootObjectSerializer + func (pgc *Collection) AddCast(ctx context.Context, cast Cast) error + func (pgc *Collection) Clone(ctx context.Context) *Collection + func (pgc *Collection) DeserializeRootObject(ctx context.Context, data []byte) (objinterface.RootObject, error) + func (pgc *Collection) DiffRootObjects(ctx context.Context, fromHash string, ours objinterface.RootObject, ...) ([]objinterface.RootObjectDiff, objinterface.RootObject, error) + func (pgc *Collection) DiffersFrom(ctx context.Context, root objinterface.RootValue) bool + func (pgc *Collection) DropCast(ctx context.Context, castIDs ...id.Cast) error + func (pgc *Collection) DropRootObject(ctx context.Context, identifier id.Id) error + func (pgc *Collection) GetAssignmentCast(ctx *sql.Context, sourceType *pgtypes.DoltgresType, ...) (Cast, error) + func (pgc *Collection) GetExplicitCast(ctx *sql.Context, sourceType *pgtypes.DoltgresType, ...) (Cast, error) + func (pgc *Collection) GetFieldType(ctx context.Context, fieldName string) *pgtypes.DoltgresType + func (pgc *Collection) GetID() objinterface.RootObjectID + func (pgc *Collection) GetImplicitCast(ctx *sql.Context, sourceType *pgtypes.DoltgresType, ...) (Cast, error) + func (pgc *Collection) GetRootObject(ctx context.Context, identifier id.Id) (objinterface.RootObject, bool, error) + func (pgc *Collection) HasCast(ctx context.Context, castID id.Cast) bool + func (pgc *Collection) HasRootObject(ctx context.Context, identifier id.Id) (bool, error) + func (pgc *Collection) IDToTableName(identifier id.Id) doltdb.TableName + func (pgc *Collection) IterAll(ctx context.Context, ...) error + func (pgc *Collection) IterIDs(ctx context.Context, callback func(identifier id.Id) (stop bool, err error)) error + func (pgc *Collection) IterateCasts(ctx context.Context, callback func(c Cast) (stop bool, err error)) error + func (pgc *Collection) Map(ctx context.Context) (prolly.AddressMap, error) + func (pgc *Collection) PutRootObject(ctx context.Context, rootObj objinterface.RootObject) error + func (pgc *Collection) RenameRootObject(ctx context.Context, oldName id.Id, newName id.Id) error + func (pgc *Collection) ResolveName(ctx context.Context, name doltdb.TableName) (doltdb.TableName, id.Id, error) + func (pgc *Collection) TableNameToID(name doltdb.TableName) id.Id + func (pgc *Collection) UpdateField(ctx context.Context, rootObject objinterface.RootObject, fieldName string, ...) (objinterface.RootObject, error) + func (pgc *Collection) UpdateRoot(ctx context.Context, root objinterface.RootValue) (objinterface.RootValue, error)