home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 747769830

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/1151#issuecomment-747769830 https://api.github.com/repos/simonw/datasette/issues/1151 747769830 MDEyOklzc3VlQ29tbWVudDc0Nzc2OTgzMA== 9599 2020-12-17T23:29:08Z 2020-12-17T23:29:08Z OWNER https://sqlite.org/inmemorydb.html > The database ceases to exist as soon as the database connection is closed. Every :memory: database is distinct from every other. So, opening two database connections each with the filename ":memory:" will create two independent in-memory databases. > > [...] > > The special `":memory:"` filename also works when using URI filenames. For example: > > rc = sqlite3_open("file::memory:", &db); > > [...] > > However, the same in-memory database can be opened by two or more database connections as follows: > > rc = sqlite3_open("file::memory:?cache=shared", &db); > > [...] > If two or more distinct but shareable in-memory databases are needed in a single process, then the mode=memory query parameter can be used with a URI filename to create a named in-memory database: > > rc = sqlite3_open("file:memdb1?mode=memory&cache=shared", &db); {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 770448622  
Powered by Datasette · Queries took 0.977ms