Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Currently the column used for displaying a foreign key relationship is automatically detected by inspect() by looking for tables that have a primary key column and one other column.
This doesn't work for tables with more than two columns.
Let's allow the table section in metadata.json to optionally define a label_column which, if present, will be used for those displays.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Docs here: http://datasette.readthedocs.io/en/latest/metadata.html#specifying-the-label-column-for-a-table
I built this wrong: my implementation is looking for the label_column on the table-being-displayed, but it should be looking for it on the table-the-foreign-key-links-to.
No branches or pull requests