diff options
author | Teddy Wing | 2022-03-14 21:14:57 +0100 |
---|---|---|
committer | Teddy Wing | 2022-03-14 21:14:57 +0100 |
commit | 5b9fdb3b8917253242875ef30f6b13a064a224ae (patch) | |
tree | 52d2673bd7bf6ef9cf1fcb2f534175111ff01bae /src/select.rs | |
parent | 0c80aaf2fc67b82b0d6ec60bd9317d7b4cf7e9ac (diff) | |
download | yaqlite-5b9fdb3b8917253242875ef30f6b13a064a224ae.tar.bz2 |
Add `table_primary_key_column()`
Add a function to get the column name of the table's primary key. This
allows us to use a primary key value given by the user while saving
users the trouble of having to input the primary key column name.
We likely still want to offer the option of passing in a primary key
column name in case this function can't determine the table's primary
key, or if the table has a `UNIQUE` column we can query but no primary
key.
Diffstat (limited to 'src/select.rs')
0 files changed, 0 insertions, 0 deletions