Fecth Tags from measurement

I executed this query
queryClient.queryRows(`import “influxdata/influxdb/schema”

schema.measurementTagKeys(
bucket: “bucketname”,
measurement: “measurementname”,
)`,

It gives me
{ result: ‘_result’, table: 0, _value: ‘_start’ }
{ result: ‘_result’, table: 0, _value: ‘_stop’ }
{ result: ‘_result’, table: 0, _value: ‘_field’ }
{ result: ‘_result’, table: 0, _value: ‘_measurement’ }
{ result: ‘_result’, table: 0, _value: ‘unit’ }

While I only want the ‘unit’ one that i inserted, I don;t want these extras

Hello @Siddharth,
You can add the tag parameter int he function. I believe that will help :slight_smile:
Lmk