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
1
vote
1 answer

Python with CouchDB 2.0

I have CouchDB 2.0 server. I need to create, delete, get, update and query the databases via python. On 1.6 version there was a couchdb-python lib. What is the best option here ? Work with the couchdb rest-api directly?
Oz Bar-Shalom
  • 1,747
  • 1
  • 18
  • 33
0
votes
1 answer

s there a way to track the last seq when using the all_docs endpoint in CouchDB

Recently, a third-party company began providing data to us through CouchDB, and the responsibility of retrieving the data fell to me. At that time, I had read somewhere that it would be possible to retrieve changes using _changes with a date…
0
votes
1 answer

couchdb : implement joins and views

I need to get below Result by joining Person and Department using CouchDB views and joins. How can this be achieved? Person: { name: 'Parnika', city: 'Delhi', dept: 'DevOps' } Department: { name: 'DevOps', city:…
0
votes
1 answer

Couchdb view search by numeric key

I have couchdb setup to have documents like below { "_id": "id", "_rev": "rev", "docType": "CLAIM", "createDate": 1633074806, "customerClaimNumber": "CCN101", "claimID": "CLID101" } Requirement is to have claims…
0
votes
0 answers

What is the maximum number of docs that can be saved in a single database in CouchDB?

What is the maximum number of docs that can be saved in a single database in CouchDB? What is the maximum size of a single database in CouchDB? I need to save millions of documents in a single database in CouchDB. So I want to know If there is a…
Rahib Rasheed
  • 317
  • 1
  • 10
0
votes
0 answers

Is single_node configuration parameter supported in CouchDB 2.3.1?

can someone confirm that the single_node parameter described in https://docs.couchdb.org/en/stable/setup/single-node.html only works for CouchDB >= 3.0 or it should also work with CouchDB 2.3.1? I have set single_node=true in a CouchDB 2.3.1…
mgangelov
  • 1
  • 2
0
votes
1 answer

CouchDB Fauxton _replicator db: exclamation stating "This database has just X docs and Y deleted docs"

I am using Fauxton on Apache CouchDB, version 2.3.1. Next to the # of Docs field for my _replicator db, there is an exclamation point. When I hover over it, it says: This database has just 4 docs and 5 deleted docs. Here is a screenshot of what I'm…
Intrastellar Explorer
  • 3,005
  • 9
  • 52
  • 119
0
votes
1 answer

CouchDB Fauxton Web Interface: how to not require login to create/edit documents

I am trying to set up a CouchDB instance to: Not require login at web user interface when to create/edit/delete documents for random people who go to http://my_couchdb:5984 Prevent random people from making admin level changes Ex: modify design…
Intrastellar Explorer
  • 3,005
  • 9
  • 52
  • 119
0
votes
1 answer

AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

Here is my setup: CouchDB: 2.3.1 LoopBack: 1.11.2 NPM: 6.9.0 Using LoopBack API Explorer, here is the rest call made: curl -X PUT "http://localhost:3000/skilltypes/0" -H "accept: */*" -H "Content-Type: application/json" -d…
TechFanDan
  • 3,329
  • 6
  • 46
  • 89
0
votes
1 answer

Cannot update CouchDB document using PHP (put request), keeps responding with "Forbidden": "Invalid Data"

I'm trying to update a CouchDB document using PHP, but I always get {"error":"forbidden","reason":"Invalid data"} when sending the PUT request. GET requests work fine. I've used "Baachi/CouchDB" from https://github.com/Baachi/CouchDB and also…
Ahmed
  • 49
  • 2
  • 9
0
votes
1 answer

Custom CouchDb SSL Certificate Verification

I'm trying to configure CouchDB to use SSL on IoT devices accessed via IP. I'm trying to avoid adding a webserver as a reverse proxy in an attempt to keep things as lightweight as possible and instead use CouchDb's builtin SSL functionality. The…
borigas
  • 495
  • 5
  • 11
0
votes
1 answer

CouchDB replication to cluster

I'm trying to set up a single CouchDB node with a primary copy of a database and have it replicate (one way) to a three-node CouchDB cluster. I want to do this for HA and performance, the users would talk to the read-only cluster. This setup doesn't…
Alex
  • 101
  • 6
0
votes
1 answer

What is the behavior of local_seq under CouchDB 2.x?

In CouchDB 1.x, documents had a "hidden" ._local_seq field that tracked the database's update sequence at the state when the document revision was written. This could be used by views by including the {local_seq:true}option in the design document,…
natevw
  • 16,807
  • 8
  • 66
  • 90
0
votes
1 answer

adding new document to CouchDb using ArmChair throws exception Object reference not set to an instance of an object

Iam using couch-db version 2.2.0 and I want to make crud operations on couchdb database using .Net so I installed Armchair.Core Nuget Package version 0.11.2 and in order to add d a new document I, followed the code that is mentioned in not…
oula alshiekh
  • 843
  • 5
  • 14
  • 40
0
votes
1 answer

CouchDB Fauxton "Save failed: undefined"

What could be causing this banner error 'Save failed: undefined' for v2.1.1 in Chrome 68 and Firefox 62 on Ubuntu? With a fresh/recent login with admin permissions, suddenly (versus a few days ago with same system) I cannot create a new document in…
Michelle Norris
  • 568
  • 7
  • 14
1 2 3
8 9