Skip to content

Collections.Create

func (collectionClient) Create(
ctx context.Context,
datasetID uuid.UUID,
collectionName string,
) (*datasets.Collection, error)

Create a collection in the dataset.

datasetID uuid.UUID

The id of the dataset

collectionName string

The name of the collection

The created collection object.