home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1022466476

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/sqlite-utils/issues/392#issuecomment-1022466476 https://api.github.com/repos/simonw/sqlite-utils/issues/392 1022466476 IC_kwDOCGYnMM488Zms 9599 2022-01-26T18:17:43Z 2022-01-26T18:17:43Z OWNER

Manually tested it like this: ```

Create database with an empty "lines" table

sqlite-utils create-table bulk-test.db lines line text

Stream records every 0.5s, commit every 5 records

stream-delay docs/python-api.rst -d 500 | \ sqlite-utils bulk bulk-test.db 'insert into lines (line) values (:line)' - \ --lines --batch-size 5 `` Runningdatasette bulk-test.db` showed that records would show up about every 2.5s five at a time.

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