Hey @all,
did anybody know a way to get the primary and foreign keys from a table?
so when I have a table 'A'
and table 'B'Qt Code:
id integer primary key cid integer foreign key (foreign key for table 'B' column 'id')To copy to clipboard, switch view to plain text mode
I want to know that in table 'A' a primary key 'id' exists and there is a foreign key 'cid' which is in table 'B' defined.
Regards
Bookmarks