Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
37 lines (30 loc) · 655 Bytes

Collections.Create.mdx

File metadata and controls

37 lines (30 loc) · 655 Bytes
title sidebarTitle icon
Client.Collections.Create
Collections.Create
layer-group
func (collectionClient) Create(
    ctx context.Context,
    datasetID uuid.UUID,
    collectionName string,
) (*datasets.Collection, error)

Create a collection in the dataset.

Parameters

The id of the dataset The name of the collection

Returns

The created collection object.

```go Go collection, err := client.Collections.Create(ctx, datasetID, "My-collection", ) ```