Hi,
I have a PostgreSQLFeature Layer, it displays some data retrieved from the PosgreSQL database, I want to allow the user to filter the data displayed in this layer,what is the best way to do this in terms of performance? I thought of two options:
1: Go to the database to retrieve the subset data
2. Using the FeatureIdsToExclude property to exclude the IDs not meeting the criteria. But this property is ready-only, in the API document, it says:
"This string collection is a handy place to specify what records not to get from the source. Suppose you have a shape file of roads and you want to hide the roads within a particular rectangle, simply execute GetFeaturesInsideBoundingBox() and add the id of the return features to the collection and forget about them. Since you can set this by Layer it makes is easy to determine what to and what not to."
Since it is ready-only, how to add the Ids of the return features to the collection?
Thanks
Rose