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 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´m firing an ajax/jsonp request to my cloudant app:       var obj = $.ajax({         url: "http://xyz",         dataType: 'jsonp',         success: function(data) {               //SOME CODE           },         error: function() {...
I have a cloudantDB server and database on it. On my js file, I create IBMCloudCode to call cloudantAPI.   js file:  app.value('IBM_CREDENTIALS',{     APP_ROUTE: 'http://myserver.cloudant.com' }) .factory('IBMService',['$h...
Ok, so I'm working on an Internet of Things project and REALLY need your help. I have an arduino sending time stamped temperature data as MQTT packets to cloud servers (IBM Bluemix) and storing them to a no-sql database (Cloudant). What I want to...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.