dao

package
v0.0.0-...-ef451c8 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const SegmentType = "urn:chroma:segment/vector/hnsw-distributed"

Variables

This section is empty.

Functions

func CleanUpTestCollection

func CleanUpTestCollection(db *gorm.DB, collectionId string) error

func CleanUpTestDatabase

func CleanUpTestDatabase(db *gorm.DB, tenantName string, databaseName string) error

func CleanUpTestTenant

func CleanUpTestTenant(db *gorm.DB, tenantName string) error

func CreateTestCollection

func CreateTestCollection(db *gorm.DB, collectionName string, dimension int32, databaseID string) (string, error)

func CreateTestTenantAndDatabase

func CreateTestTenantAndDatabase(db *gorm.DB, tenant string, database string) (string, error)

func GetSegmentScopes

func GetSegmentScopes() []string

func NewMetaDomain

func NewMetaDomain() *metaDomain

Types

This section is empty.

Jump to

Keyboard shortcuts

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