Consolidate Query Tags: Gateway Timer + Tag Write or Query Tag with Indexed Expression?

I’m trying to consolidate several query tags that I’ve found I wrote in somewhat ignorance. Several tags are selecting individual fields from a common db table.

My question is, would it be better to run a gateway timer script to run a query and then delegate tag writes to the individual tags…or write a query tag that selects all the needed info, then use an expression tag to index out the individual fields?

I would use expression tags. Makes it obvious that the user shouldn’t write to them. Although I generally don’t bother if using Vision–the client can extract from the dataset without burdening the gateway.

1 Like