6,126 questions
1
vote
0
answers
44
views
Function_clause error when executing Erlang query in CouchDB
I am trying to use an Erlang query in CouchDB. I created an erlang.erl file and a design document in JSON with the language set to Erlang. However, when I execute the query, I get a function_clause ...
0
votes
1
answer
56
views
Does CloudAnt support ES6 functions or not?
The CloudAnt server says it is using CouchDB 3.4.2, and ES6 support was added to CouchDB in version 3.0..., but I am not able to use fat arrow function syntax in the online view editor for my ...
1
vote
1
answer
40
views
How to remove the "_deleted_conflicts" field from the document?
When I called CouchDB with HTTP POST /{db}/_design/{designDoc}/_view/{view} I received a document with the field "_conflicts": ["{conflictRev}"].
So I used HTTP POST /{db}/...
0
votes
1
answer
94
views
Unable to foward a sync url to pouchdb using nextjs api's
this is my local.ini couchdb file:
[admins]
admin = <REDACTED>
[couchdb]
database_dir = <REDACTED>
view_index_dir = <REDACTED>
uri_file = <REDACTED>
uuid = <REDACTED>
[...
-1
votes
1
answer
43
views
query firstname and surname in couchdb
i have two fields firstname and lastname in a document. i want to query if "max smith" or "smith max" exists.
db.find(q)
q.selector['$or'] = [
{'$and': [
...
0
votes
1
answer
78
views
Accessing CouchDB database in python
I'm attempting to connect to a CouchDB database using the cloudant Python library.
My connection to couchdb is successful, and I can see all the databases listed when I call client.all_dbs(), but when ...
0
votes
2
answers
169
views
How to configure HSTS on Couch DB when it's packaged with another app?
I have this very large and complex server application that amongst the numerous opensource tools that are baked into it, CouchDB 3.3.3 is one of them. "Baked" is important because what the ...
1
vote
0
answers
51
views
How to run a query on a CouchDB collection
I'm working in NodeJS and I have a working CouchDB connection.
I can get a reference to a collection like so:
var myCluster = await couchbase.connect(serverHttp, authentication);
const myBucket = ...
1
vote
0
answers
53
views
CouchDB update one field of all documents
I'm working with CouchDB and Mango queries and I have a JSON structure for my documents with fields like "nome" (name) and "age". I want to modify all documents in my database by ...
0
votes
1
answer
44
views
CouchDB-lucene is not connected with CouchDB
I have installed CouchDB version 3.3.3.. And I have also installed CouchDB-lucene version 2.2.0.. I have also set this option in my local.ini file of CouchDB:
[httpd_global_handlers]
_fti = {...
0
votes
1
answer
123
views
Why Does Invoke-WebRequest not authenticate with CouchDB while username and password are supplied?
I'm hosting a local instance of couchdb via docker at localhost:5984/.
With a python requests client, I can make admin changes via API like so:
>>> requests.put('http://admin:password@...
0
votes
0
answers
31
views
fetch data from couchdb to node.js file
hi everyone i have a probleme whene i want to fetch data from couchdb to file .ejs i have this probleme "Server started on 3000 Port
undefined"
this is my code
const express = require('...
0
votes
1
answer
37
views
CouchDB _approx_count_distinct
I'm having a problem using _approx_count_distinct reduce function. Based on the documentation _approx_count_distinct is loosely based on Hyperloglog algorithm.
I can't get this to work.
May map ...
0
votes
2
answers
78
views
Couchdb python - Upload Attachment with put_attachment
I am trying to attach an image to an existing document on couchdb using python. It is attached, but the following error message appears: "Cannot be displayed because it contains an error". ...
1
vote
1
answer
135
views
How to build Erlang v24 for couchdb?
I'm trying to compile erlang 24 in yocto build system, the recommended version for CouchDB, but it fails. I'm using meta-erlang layer.
This is the error I am getting:
| configure: WARNING: No GLU ...