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
20
votes
4 answers

Connect to Cloudant CouchDB with Node.js?

I am trying to connect to my CouchDB database on Cloudant using Node.js. This worked on the shell: curl https://weng:password@weng.cloudant.com/my_app/_all_docs But this node.js code didn't work: var couchdb = http.createClient(443,…
ajsie
  • 77,632
  • 106
  • 276
  • 381
19
votes
3 answers

Cloudant auth: lacks _users database

I'm getting set up with CouchDB on Cloudant, and I'm confused because Cloudant seems to do auth differently than regular CouchDB. Specifically, Cloudant seems to lack a _users database. I read the Cloudant auth FAQ here, and it provided the…
jbeard4
  • 12,664
  • 4
  • 57
  • 67
17
votes
3 answers

Can I create multiple collections per database?

Switching from mongo to pouchdb (with Cloudant), i like the "one database per user" concept, but is there a way to create multiple collections/tables per database ? Example - Peter - History - Settings - Friends - John …
Abel Chalier
  • 629
  • 6
  • 14
15
votes
3 answers

Detecting 'unusual behavior' using machine learning with CouchDB and Python?

I am collecting a lot of really interesting data points as users come to my Python web service. For example, I have their current city, state, country, user-agent, etc. What I'd like to be able to do is run these through some type of machine…
sullivanmatt
  • 740
  • 7
  • 15
13
votes
1 answer

Modeling relationships on CouchDB between documents?

I'm trying to model a fairly simple relationship in CouchDB and I'm having trouble determining the best way to accomplish this. I'd like users to be able to create lists of video game objects. I have the video game documents stored in the DB already…
dstaley
  • 1,002
  • 1
  • 12
  • 32
12
votes
2 answers

NODEJS - AXIOS : Error : The "url" argument must be of type string. Received type object at Url.parse

I am trying to fetch data from a rest API using AXIOS as below: require('dotenv').config(); const axios = require('axios'); var url =…
METALHEAD
  • 2,734
  • 3
  • 22
  • 37
12
votes
5 answers

d3.js or rxjs error? this.svg.selectAll(...).data(...).enter is not a function

This is a weird one. It's also a bit long so apologies in advance. update - it ended up being 2 problems see my answer below. Here's my error: EXCEPTION: this.svg.selectAll(...).data(...).enter is not a function I have an angular-cli client and a…
Bruce MacDonald
  • 278
  • 3
  • 11
12
votes
1 answer

How can I use my sql knowledge with Cloudant/CouchDB?

Some developers who have a good knowledge of querying SQL databases struggle to implement the equivalent query patterns in Cloudant/CouchDB. How can these developers translate their SQL knowledge to Cloudant/CouchDB?
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
11
votes
2 answers

Cloudant Selector Query

I would like to query using cloudant db using selector, for example that is shown below: user would like to have loanborrowed whose amount exceeds a number, how to access the array in a cloudant selector to find a specific record { …
vinSan
  • 519
  • 2
  • 6
  • 15
10
votes
1 answer

Can I restrict unauthenticated users from accessing _all_docs?

I'd like people to be able to share documents privately, using a link with a random id, like I get after posting a private link to a pastebin. I want to know both for CouchDB and Cloudant in general.
Benjamin Atkin
  • 14,071
  • 7
  • 61
  • 60
10
votes
2 answers

How to count the documents returned by a Mango query

I have a mango query: { "selector": { "age":{ "$eq": 22 } } } I want to know the number of documents that satisfy this criteria. I know we can use map reduce functions to achieve this, but is there any way to do this by using…
QO23
  • 143
  • 1
  • 8
10
votes
3 answers

Difference between Cloudant and CouchOne?

I wonder what the difference is between Cloudant and CouchOne.
ajsie
  • 77,632
  • 106
  • 276
  • 381
9
votes
1 answer

Is my hack to store users' private data on Cloudant secure?

I want to store users' private information on a CouchDB in Cloudant - i.e. each user should be able to read and update only his own document. Usually such information is saved in the _users db, but I really liked Cloudant's API keys and don't want…
Oren
  • 2,767
  • 3
  • 25
  • 37
9
votes
2 answers

Cloudant Search Index Query Limit

Why are results from search index queries limited to 200 rows, whereas standard view queries seem to have no limit?
user187676
8
votes
1 answer

Can $in / $or queries use indexes?

I'm playing with Mango queries on a CouchDB 2.0 instance, through the fantastic pouchdb-find. A few times I got the dreaded no matching index found, create an index to optimize query time warning even though I was using indexed fields. Just now I…
Ronan Jouchet
  • 1,303
  • 1
  • 15
  • 28
1
2 3
82 83