Skip to main content

SQLite_Connection.fetch_primary_key

fetch_primary_keytable_nameschema_name

Documentation

Get the Primary Key for a given table. Returns Nothing if the key is not defined.

Arguments

  • table_name: the name of the table to get the primary key for.
  • schema_name: optionally, the schema name where the table is located.