Questions tagged [couchdb-2.0]

Use couchdb-2.0 for questions specific to the 2.0 major release of CouchDB and its minor releases.

References

122 questions
0
votes
2 answers

Cloudant/Mango query selector size limits

In our system we need to know if a reference to a specific document ID exists anywhere in the database. (for example to allow/deny deletion) This previously worked fine with a view we created but now we have been asked to do the same thing using…
J. Araujo
  • 89
  • 1
  • 8
0
votes
0 answers

CouchDB 2.1.0 does not work with windows 10

I tried to install couchDB on windows 10. now I know that there was a problem with couchDB and windows 10 creator update, but the problem was supposed to be fixed in version 2.1.0 like they said in the apache issues…
yonBav
  • 1,695
  • 2
  • 17
  • 31
0
votes
2 answers

Not able to see the API button on the Fauxton of CouchDB

Hi I´m not able to see the API button on the fauxton of cocuhDB, do you know why it´s this.
0
votes
1 answer

Multiple pouchdbs vs single pouchdb

I created couchdb with multiple dbs for use in my ionic 3 app. Also upon integrating it with pouchdb for client side syncing i created seperate pouchdbs for each one of the dbs. Total 5 pouchdbs. My question whether it is good idea storing…
0
votes
2 answers

Get value from database into different database

I'm working on a CouchDB use case where I have 3 databases, where I have customers, invoices (which includes an array of invoiceLines) and items. In the invoiceLines array, I currently have this "_id": "someId", "_rev": "someId", …
jsvi
  • 3
  • 4
0
votes
1 answer

Couchdb cluster writes behaviour

I have a couchdb in a cluster setup. 3 nodes, all shards on all nodes and W = 2. We have code to create a document in couchdb and read it back from a view. However, the view returns no corresponding data intermittently. The data is there after we…
leiz
  • 3,984
  • 2
  • 23
  • 17
0
votes
1 answer

Get total invoices per customer

I have a database where I have docs like customers (customerId, firstName, lastName, phoneNo, eMail) and invoice (invoiceId, invoiceDate, customerId). I want to get the sum of invoices per customer in a view. I'm currently using Fauxton 2.0. My…
jsvi
  • 3
  • 4
0
votes
1 answer

Errors when a design document is edited and an update_notification is set

I've got a CouchDB 2.0 installation, running on Ubuntu 16.04, single node. One particular aspect of my application has write-heavy load, but I want reads need to be timely, so I'm looking to use update_notification to rebuild indexes every n…
Mike Hall
  • 25
  • 1
  • 4
0
votes
2 answers

CouchDB 2.0.0 make install fails on CentOS 7

I am going by the CouchDB docs install directions: http://docs.couchdb.org/en/2.0.0/install/unix.html I install the dependencies: $ sudo yum install autoconf autoconf-archive automake \ curl-devel erlang-asn1 erlang-erts erlang-eunit \ …
WebSnake
  • 62
  • 8
0
votes
0 answers

Do individual databases have UUIDs in CouchDB 2?

I'm looking to incrementally copy data from a CouchDB to another database without copying my own bookkeeping document into the source database. Normally the replication target writes a the 'story so far' document to the source database to avoid…
joeforker
  • 40,459
  • 37
  • 151
  • 246
0
votes
1 answer

CouchDB multikey view with an array

Okay, so my problem is that I have a multikey view, that works. function (docu) { if(!docu.deleted){ emit([docu.key1, docu.key2, docu.key3], docu); } } I am attempting to add another key to this already multi-key array. The key I am…
Hypnic Jerk
  • 1,192
  • 3
  • 14
  • 32
0
votes
1 answer

Couchdb2 mango/find js api

I have noticed that all the couchdb api helpers don't implement Mango query I have found cradle started working on it, but seems they stoped implementing, nothing on docs about…
0
votes
1 answer

Install CouchDB 2.0 on Centos 6.8

I'm trying to install CouchDB 2.0 on CentOS 6.8 and its running into this error, I'm not sure what is wrong. Any ideas ?? This is the log: Compiled src/couch_db.erl Compiled src/couch_native_process.erl Compiled src/couch_util.erl Compiling…
Thomas Modeneis
  • 687
  • 8
  • 11
0
votes
1 answer

How to insert a model with DoctrineCouchDBBundle and SF 2.8?

I've a fresh install of Symfony 2.8 and DoctrineCouchDBBundle. I've created a minimal model to try to insert an object into CouchDB, but I have the following error : HTTP Error with status 417 occurred while requesting /symfony/_bulk_docs. Error:…
Anthony
  • 2,014
  • 2
  • 19
  • 29
0
votes
2 answers

create or update with _conflicts instead of 409

Is it possible to put or bulkDocs into couchdb/pouchdb and get the same behaviour as in replication, i.e. winning revision with _conflicts instead of a 409 response? Basically I would like to avoid the conflict case in the following code: const…
ronag
  • 49,529
  • 25
  • 126
  • 221
1 2 3
8
9