So we've been building an app that uses couchDb/cloudant with Pouchdb as our driver client side (ionic framework) and server side (node).  Of late we've been getting errors when connecting to the remote, that seem to appear at random and only...
I am trying to connect to my CouchDB database on Cloudant using Node.js.  This worked on the shell:      curl https://weng:[email protected]/my_app/_all_docs   But this node.js code didn't work:      var couchdb = http.createClient(443,...
I have setup a cloudant local database using docker image.  When I try to send in a cloudant query using a JavaScript application hosted on localhost:8000 it gives me an CORS error.    How do I enable CORS on Cloudant local? I have tried the followin...
I'm not sure how to figure out how to sort my documents using a Mango query. Any help would be greatly appreciated:    I do the following find query and get the following error:  return db.find({ sort: ['timestamp'], selector: {$and: [{ty...
I am currently trying in an angular project to replicate a local database with PouchDB to a remote database hosted on Cloudant.  I have no problem with the replication from the local to the cloudant database but the replication doesn't work from...
I have to make a query to multiple databases in series. Basically a set of promises that have to be completed in series. I am implementing it in a while loop. The databases are named based on dates. I also have to set a request delay of 400ms times t...
Trying to query against my db to get all docs with all info. The db.list functionality gets the overview of the docs but does not return all the data for the docs. Currently have to get the high level data then loop through the rows and query each in...
I am developing an app that uses Cloudant as the database. I have a situation where I make two database calls at almost the time to the same document, but, because of it, I get a conflict error. So I tried to create an update handler function in a cl...
I would like to access CouchDB (Cloudant) from an HTML5 application ... I know that there is a script hosted in the couchdb installation which I can include (overcomes cross site scripting restrictions) which will allow me to connect to the database...
I am trying to post json objects into a cloudant database. Why am I receiving a "400 bad request" response?  pos = {     'lat': position.coords.latitude,     'long' : position.coords.longitude     };     $.ajax({       type: &...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.