title: sqlite - programmatically determine primary key(s)
body: <p>I need to programatically determine what the primary key field(s) are for a given sqlite table (using sqlite api, not command line).</p>
  
  <p>I can get a list of tables and a list of columns, but only see the column type using the Column_Type() function.  Need to know if a given column is the primary key (or part of the primary key if a compound key is used).</p>