How can I get a list of primary keys for a specified table Follow
Answered
I'm writing an extractor and need to know how I can identify what are the primary keys of a table. I didn't see this functionality in extractor bindings. Is there an API I can use to get this?
Please sign in to leave a comment.
Hello Jim,
We don't publish this API because it's internal and we don't guarantee that it will not change.
Here is how you can find primary key and iterate over it's column names:
This worked perfectly! Thank you.