home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 389989615

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/271#issuecomment-389989615 https://api.github.com/repos/simonw/datasette/issues/271 389989615 MDEyOklzc3VlQ29tbWVudDM4OTk4OTYxNQ== 9599 2018-05-17T19:56:13Z 2018-05-17T19:56:13Z OWNER

From https://www.sqlite.org/c3ref/open.html

immutable: The immutable parameter is a boolean query parameter that indicates that the database file is stored on read-only media. When immutable is set, SQLite assumes that the database file cannot be changed, even by a process with higher privilege, and so the database is opened read-only and all locking and change detection is disabled. Caution: Setting the immutable property on a database file that does in fact change can result in incorrect query results and/or SQLITE_CORRUPT errors. See also: SQLITE_IOCAP_IMMUTABLE.

So this would probably have to be a new mode, datasette serve --detect-db-changes, which no longer opens in immutable mode. Or maybe current behavior becomes not-the-default and you opt into it with datasette serve --immutable

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