home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 473708724

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/419#issuecomment-473708724 https://api.github.com/repos/simonw/datasette/issues/419 473708724 MDEyOklzc3VlQ29tbWVudDQ3MzcwODcyNA== 9599 2019-03-17T19:55:21Z 2019-05-16T03:35:59Z OWNER

Thinking about this further: I think I may have made a mistake establishing "immutable" as the default mode for databases opened by Datasette.

What would it look like if files were NOT opened in immutable mode by default?

Maybe the command to start Datasette looks like this:

datasette mutable1.db mutable2.db --immutable=this_is_immutable.db --immutable=this_is_immutable2.db

So regular file arguments are treated as mutable (and opened in ?mode=ro) while file arguments passed using the new --immutable option are opened in immutable mode.

The -i shortcut has not yet been taken, so this could be abbreviated to:

datasette mutable1.db mutable2.db -i this_is_immutable.db -i this_is_immutable2.db
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
421551434  
Powered by Datasette · Queries took 1.016ms · About: github-to-sqlite