Skip to content

Collections.Get

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

Get a collection by name from a dataset.

Parameters

datasetID uuid.UUID

The id of the dataset

name string

The name of the collection

Returns

A collection object.

Errors

not_found No such dataset

The specified dataset does not exist.

Type to search…