Question

Pass where clause to FeatureReader

  • 4 November 2019
  • 1 reply
  • 3 views

Badge +6

Hi I have used SQLCreator to query multiple tables in SDE using various criteria and end up with a list of IDs.

I would now like to pass the list of IDs to a FeatureReader, so that I can reduce the number of records to read.

Any idea how I can build the whereclause to pass to the featurereader? I would like to build single sql as

ID=any(1,2,3,4...2000)


1 reply

Badge +22

A combination of ListConcatenator and AttributeCreator should do the trick.

 

 

the AttributeCreator would have something along the lines of ID=any(@Value(_concatenated)).

 

 

Reply