home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 634879258

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/581#issuecomment-634879258 https://api.github.com/repos/simonw/datasette/issues/581 634879258 MDEyOklzc3VlQ29tbWVudDYzNDg3OTI1OA== 9599 2020-05-27T19:09:22Z 2020-05-28T01:33:45Z OWNER

OK, the new design: your callback function can take any of the following arguments:

  • datasette - a Datasette instance
  • columns - the list of columns
  • rows - the list of rows (each one a SQLite Row object)
  • sql - the SQL query being executed
  • query_name - the name of the canned query, if this is one
  • database - the database name
  • table - the table or view name
  • request - the request object (to be documented in #706)
  • view_name - the name of the view

We will also continue to support the existing args and data arguments, but these will be undocumented and will be deprecated in Datasette 1.0. UPDATE: Decided against this, see https://github.com/simonw/datasette/issues/581#issuecomment-634946197

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
502993509  
Powered by Datasette · Queries took 1.173ms · About: github-to-sqlite