Hello
At first, sorry for my bad english. I hope you understand what I mean.
Is it possible to find out the index flags (e.g. unique, primary unique, nothing)?
For "unique" ich take the database._index._unique field (_index is a system table).
Example:
FOR EACH databasename._file
WHERE...