home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 733288522

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/860#issuecomment-733288522 https://api.github.com/repos/simonw/datasette/issues/860 733288522 MDEyOklzc3VlQ29tbWVudDczMzI4ODUyMg== 9599 2020-11-24T23:18:47Z 2020-11-24T23:18:47Z OWNER

In #942 I want to add support for per-column metadata - which means this new lookup mechanism will need to be able to answer the question "what description is available for this column".

So what should the .metadata() method look like? A couple of options:

  • datasette.metadata("description", table=x, database=y) - can take optional column= too.
  • datasette.table_metadata("description", table=x, database=y) and datasette.database_metadata("description", database=y) and so on - multiple methods for the different types of metadata.
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
642651572  
Powered by Datasette · Queries took 1.234ms · About: github-to-sqlite