Skip to content

Collections.Get

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

Get a collection by name from a dataset.

datasetID uuid.UUID

The id of the dataset

name string

The name of the collection

A collection object.

not_found No such dataset

The specified dataset does not exist.