Questions tagged [cloudant]

IBM Cloudant is a fully managed database service for hybrid multicloud applications — built on open source Apache CouchDB with a fully compatible API. Sync data to any cloud or to the edge.

Cloudant is a Massachusetts-based enterprise software company which provides an open source non-relational, distributed database service of the same name that requires zero-configuration. Cloudant is based on the Apache-backed CouchDB project and the creator of the open source BigCouch project.

Cloudant's service provides integrated data management, search, and analytics engine designed for web applications. Cloudant scales your database on the CouchDB framework and provides hosting, administrative tools, analytics and commercial support for CouchDB and BigCouch. Cloudant's distributed CouchDB service is used just like you would use standalone CouchDB, with the added advantage of your data being redundantly distributed over multiple machines.

Cloudant is often considered part of a new generation of 'NoSQL' databases that don't require fixed table schemas and is challenging the dominance of traditional relational databases (including the popular MySQL).

From Wikipedia entry on Cloudant.

1232 questions
3
votes
2 answers

How to access app resource files stored in 'src/main/resources/someFolder' within a Docker container?

I am working on a gradle based service that should run in a docker container in a kubernetes cluster. Locally, I can access the resources, some json files used for CouchDb initialisation. Once I build and deploy the service in Docker, the files are…
taz_
  • 137
  • 3
  • 13
3
votes
1 answer

How can I use a column named _id from a dashDB table?

I have a database in Cloudant where the document ID is _id. After replicating this data from Cloudant to dashDB I have 2 separate tables that I want to join using this _id column. In Run SQL I tried the below, but this would not run. What am I…
Margriet
  • 35
  • 6
3
votes
2 answers

Angular IBM Bluemix Cloudant Example Code

Does anyone have any example code for using an Angular 2 web app to CRUD data from a Cloudant database on IBM Bluemix? I have had some success developing an Ionic 2 application to do so. However, I am not sure how I can do the same for a standard…
3
votes
1 answer

How to get one specific field of my data with IBM Cloudant and Postman?

I have a database in IBM Cloudant and I use his API url in postman to get data. I have three data (temperature, humidity, sound level) in a JSON file. How to get one specific field of my data such as Humidity for example?
Arthur Josselin
  • 197
  • 1
  • 2
  • 9
3
votes
1 answer

Cloudant Geospatial query

I'm new to cloudant, i want to fetch records by lat and long with particular category. //This is getting records by Lat and Long dbname/_design/ad/_geo/geoidx?lat=29.2609417&lon=71.1750101&radius=100 but i want to fetch records by particular…
3
votes
1 answer

Return all documents from Cloudant db through nodeJs

Passing null or an empty Json to the selector does not seem to work. I am trying to get all the data in a database. Tried: db.list({}, function (err, data) { if (err) { return console.log("Error:",err.message); } …
Malaka
  • 107
  • 1
  • 6
3
votes
2 answers

unexpected `server_admin required` error with Cloudant NodeJS

I am using the Cloudant service via the Node.JS module, with the credentials provided via Bluemix VCAP_SERVICES (or a local copy). The instance is created with var Cloudant = require('cloudant'); // var cloudantCreds obtained from…
Jake
  • 67
  • 6
3
votes
1 answer

Connecting IBM mobile app builder to Cloudant JSON data - bluemix-mobile-services

I am using the IBM Bluemix Mobile App Builder tool and understand that it is currently experimental, but I have been having problems connecting the tool to an existing JSON data source. I have tried connecting to the Cloudant instance within…
3
votes
3 answers

CloudantSync vs. JSONStore

Could someone please explain the key differences between JSONStore and CloudantSync (CDTStore) (and as a bonus PouchDB) on the MobileFirst Platform? I am having difficulty deciding which one would be better to use. I see that the documentation here…
Ted Hogan
  • 51
  • 4
3
votes
1 answer

Cloudant selector query array field

I've a cloudant documents that contains this specific structure a json array of category that contains array of subcategories , and i'm trying to write a cloudant query that returns documents with given category_id (for example 128) my problem…
3
votes
3 answers

How to securely store user passwords in a Cloudant DB?

How are you supposed to store users passwords in a Cloudant DB ? By users, I mean users of an application that uses Cloudant as a backend. I've searched the docs, but I found nothing on that topic. There's a _users database, in which you can create…
Ilya
  • 5,377
  • 2
  • 18
  • 33
3
votes
1 answer

How to replicate Cloudant DB in 2 Bluemix env

I have application deployed in both US South and London Bluemix env to improve reliability. I would like to synch the cloudant db in both of these envs. In the setting up of the replication job, I have problems in defining the source DB and target…
Zheng Xie
  • 415
  • 3
  • 13
3
votes
1 answer

python-cloudant query error

I am using the python-cloudant library, trying to do a query: import cloudant my_database = client['database'] query = cloudant.query.Query(my_database,selector={'selector': {'$gt': 0}},fields=['doi']) for doc in query(limit=100,…
pynewb
  • 198
  • 1
  • 11
3
votes
1 answer

CORS issue when using PouchDB to access Cloudant

I'm using PouchDB to access Cloudant No SQL Service available in Bluemix. However, I get the following error when I run my web app in browser: XMLHttpRequest cannot load…
3
votes
1 answer

Cannot connect to cloudant database using ipython at bluemix

I am following the tutorial of IBM bluemix and try to extract data from the crimes db just created at cloudant db. I am using ipython notebook. I have got error when trying to connect to the database The tutorial is as…
B. Chow
  • 69
  • 5