var datapoint v1.Sentinel1Sar
err = client.Datapoints.GetInto(ctx,
  []uuid.UUID{collection.ID}, datapointID, &datapoint,
)
func (datapointClient) GetInto(
  ctx context.Context,
  collectionIDs []uuid.UUID,
  datapointID uuid.UUID,
  datapoint proto.Message,
  options ...QueryOption,
) error
Get a data point by its id from one of the specified collections. The data point is stored in the datapoint parameter.

Parameters

collectionIDs
[]uuid.UUID
The ids of the collections to query
datapointID
uuid.UUID
The id of the datapoint to query
datapoint
proto.Message
The datapoint to query into
options
[]QueryOption
Options for querying data points.

Options

WithSkipData()
default:"false"
Skip the data when querying datapoint. If set, only the required and auto-generated fields will be returned.

Returns

An error if data point could not be queried.
var datapoint v1.Sentinel1Sar
err = client.Datapoints.GetInto(ctx,
  []uuid.UUID{collection.ID}, datapointID, &datapoint,
)