I'm pre-populating my pouchdb by first fetching all the docs from a couchdb. My code:
var r_q_db = new PouchDB('http://usr:pw@mysite.com:5984/quests');
r_q_db.allDocs({include_docs: true}, enyo.bind(this, function(err, response) {if (err){alert("Could not retrieve the Questions data bank! Insure you have a strong internet connection.");}else{//code to batch insert into local pouchDB}
--
You received this message because you are subscribed to the Google Groups "PouchDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pouchdb+u...@googlegroups.com.
To post to this group, send email to pou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pouchdb/a58e96a4-2958-4eef-9dac-3218bae23c19%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Just need to know if the problem is with the couchdb database on the server and if so how the problem may have occurred and how I can avoid it in the future.
--
You received this message because you are subscribed to the Google Groups "PouchDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pouchdb+u...@googlegroups.com.
To post to this group, send email to pou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pouchdb/5dbdf016-874f-4f92-b5ce-f98a55d186df%40googlegroups.com.