{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4063","repository_url":"https://api.github.com/repos/pouchdb/pouchdb","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4063/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4063/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4063/events","html_url":"https://github.com/pouchdb/pouchdb/issues/4063","id":96512994,"number":4063,"title":"How do you pre-populate a PouchDB database?","user":{"login":"dilignt","id":5586296,"avatar_url":"https://avatars.githubusercontent.com/u/5586296?v=3","gravatar_id":"","url":"https://api.github.com/users/dilignt","html_url":"https://github.com/dilignt","followers_url":"https://api.github.com/users/dilignt/followers","following_url":"https://api.github.com/users/dilignt/following{/other_user}","gists_url":"https://api.github.com/users/dilignt/gists{/gist_id}","starred_url":"https://api.github.com/users/dilignt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dilignt/subscriptions","organizations_url":"https://api.github.com/users/dilignt/orgs","repos_url":"https://api.github.com/users/dilignt/repos","events_url":"https://api.github.com/users/dilignt/events{/privacy}","received_events_url":"https://api.github.com/users/dilignt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2015-07-22T08:53:55Z","updated_at":"2016-11-11T17:12:58Z","closed_at":"2015-07-22T16:11:06Z","body":"The documentation describes the `createFromLocation` for the SQLite Plugin which allows you to use a pre-populated sqlite database: http://pouchdb.com/api.html#create_database\n\nHow do you create a pre-populated pouchdb sqlite database file for using with this?  I don't want to use the pouchdb-load with a database dump file - I want to avoid having to load all the records as this takes too long and they have to be read to browser memory before this can occur.\n\nThe documentation clearly implies that this is possible, and I've done a lot of searching for this but I can't find out how to do it with a pouchdb sqlite database file.  In another thread I was told that the sqldown adapter for Pouchdb won't work because it creates a different sqlite format.  Is there another adapter that I can use, or is this actually not currently possible with pouchdb?\n"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/260006106","html_url":"https://github.com/pouchdb/pouchdb/issues/4063#issuecomment-260006106","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4063","id":260006106,"user":{"login":"farhadt0020","id":16517833,"avatar_url":"https://avatars.githubusercontent.com/u/16517833?v=3","gravatar_id":"","url":"https://api.github.com/users/farhadt0020","html_url":"https://github.com/farhadt0020","followers_url":"https://api.github.com/users/farhadt0020/followers","following_url":"https://api.github.com/users/farhadt0020/following{/other_user}","gists_url":"https://api.github.com/users/farhadt0020/gists{/gist_id}","starred_url":"https://api.github.com/users/farhadt0020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farhadt0020/subscriptions","organizations_url":"https://api.github.com/users/farhadt0020/orgs","repos_url":"https://api.github.com/users/farhadt0020/repos","events_url":"https://api.github.com/users/farhadt0020/events{/privacy}","received_events_url":"https://api.github.com/users/farhadt0020/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T17:12:58Z","updated_at":"2016-11-11T17:12:58Z","body":"I want to do this for my nwjs (node-webkit) app?\r\nI've read your greate article https://pouchdb.com/2016/04/28/prebuilt-databases-with-pouchdb.html\r\nBut it dont have a solution for nwjs apps. \r\nIs there any way for load prebuild database in desktop apps.\r\nIs it posible??\r\nThanks so much"}}
{"actor":{"display_login":"farhadt0020"}}