Questions tagged as 'couchdb'

1
answer

Referencing or embedding documents in mongodb and couchdb

I'm thinking of creating referenced documents instead of embedded because I have a database in which an airplane has flights and flights have airports. Anyone experienced that could indicate the best option? Imagine that I choose the referenc...
asked by 25.09.2015 / 04:46
1
answer

Convention for use of PouchDB with CouchDB

I'm developing a simple application with pouchDB and couchDB and I have the following doubts: In a normal, relational database (mysql for example) I would have multiple tables. The equivalent structure in pouch / couch would be to create a d...
asked by 13.03.2015 / 12:31
0
answers

Couchbase + N1QL

In a bank of approximately 300,000 records, the query below: SELECT count(usuario) FROM analytics where datahora.entrada >= '2016-11-18T00:00:00.000Z' and datahora.entrada <= '2016-11-18T99:99:99.999Z' limit 5000 I...
asked by 18.11.2016 / 17:42
0
answers

Error 500 in couchdb

I'm developing an app using AngularJs + CouchDb. But despite all the speed that couchdb offers as I am using the app suddenly the connection to the couchdb drops, returning the following error: {"status":500,"name":"unknown_error","message":"D...
asked by 06.06.2015 / 15:52
1
answer

PouchDb Replication Failed for CouchDb

Scenario I have the following code.: ['tableA', 'tableB', 'tableC'].forEach(name => { let local = new PouchDB(name, { auto_compaction: true }) let server = new PouchDB(serverUrl + name) var filtro = { include_docs: tru...
asked by 06.04.2018 / 17:10
1
answer

how to connect with couchdb in codeigniter?

Does anyone know how to connect to CouchDB using codeigniter? We have tried many tutorials, we have added the necessary libraries, but we have not succeeded. Please help us.     
asked by 23.10.2015 / 01:04
0
answers

Send a blob to a webservice

Hello, it may seem Jr. the personal question but I have already tried searching the internet and nothing. I have the following scenario: A .NET API provided by a company to which I have to submit a file, and my BackEnd to NodeJS. This B...
asked by 02.08.2018 / 22:22
0
answers

Couch DB - Mango Query in an Array of objects;

Hello, I'm trying to perform a search on CouchDb using Mango Query. My document follows the following structure: { "_id": "189f69eda6843286bde9e0ee83c36ece", "_rev": "1-ce465530345f329d97183a2ec294b8e1", "tipoDocumento": "acesso", "dat...
asked by 13.04.2018 / 02:41
1
answer

Error "zero is not a supported scheme"

I'm trying to use CouchDB together with Python, I installed them correctly, I went to CouchDB and I created a user, when I go to the Python compiler and execute: import couchdb couch = couchdb.Server('zero:central@http://localhost:5984') db =...
asked by 26.10.2017 / 15:44