func (datapointClient) GetInto( ctx context.Context, datasetID uuid.UUID, datapointID uuid.UUID, datapoint proto.Message, options ...QueryOption,) errorGet a datapoint by its ID from one or more collections of the same dataset.
The data point is stored in the datapoint parameter.
Parameters
Section titled “Parameters”datasetID uuid.UUID The ID of the dataset 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
Section titled “Options”WithCollections(collections ...*datasets.Collection) Restrict the lookup to specific dataset collections by collection object.
WithCollectionIDs(collectionIDs ...uuid.UUID) Restrict the lookup to specific dataset collections by collection ID.
WithSkipData()
Default: false
Skip the data when querying datapoint. If set, only the required and auto-generated fields will be returned.
Returns
Section titled “Returns”An error if data point could not be queried.