home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1271003212

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/1836#issuecomment-1271003212 https://api.github.com/repos/simonw/datasette/issues/1836 1271003212 IC_kwDOBm6k_c5LwfhM 536941 2022-10-07T01:52:04Z 2022-10-07T01:52:04Z CONTRIBUTOR

and if we try immutable mode, which is how things are opened by datasette inspect we duplicate the files!!!

```python

test_sql_immutable.py

import sqlite3 import sys

db_name = sys.argv[1] conn = sqlite3.connect(f'file:/app/{db_name}?immutable=1', uri=True) cur = conn.cursor() cur.execute('select count(*) from filing') print(cur.fetchone()) ```

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