Questions tagged as 'pouchdb'

2
answers

Variable loses value after leaving Promisse

Hello, I'm having the following problem, I have a variable that should store the data coming from a promisse, so that this data can be used in other functions, but for some reason the variable saves the promisse data only when this promisse is ru...
asked by 18.08.2016 / 13:40
1
answer

PouchDB: How to delete all databases?

From what I saw in the PouchDB documentation it is possible to apply db.destroy() , but only in the database created / chosen. Is it possible to delete all databases (directly from PouchDB)?     
asked by 02.08.2016 / 19:30
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
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

Vector gets values wrong

Hello, I'm using angular and pouchdb to insert value into a vector. but currently with the code below at the time of using the command console.log(vetorPrincipal); it returns so Thecorrectwaywouldbetoreturn Mycodeistheonebelow.varvetorPr...
asked by 18.08.2016 / 19:37
0
answers

Problems with Pouchdb access

Using PouchDB with a REST API to do a replicate.to? Following is the simple example of PouchDB: bancolocal = new PouchDB('http://192.168.1.100:5984/bancoexterno'); The problem is when I run the application, I noticed by the crhome inspect t...
asked by 10.07.2016 / 19:10
1
answer

PouchDb + Cordova not working

I'm developing an application using PouchDb and creating applications using Cordova . I have already tested the application on chrome, firefox, android browser, safari, blackberry browser, app for ios, apk on blackberry and all worked cor...
asked by 11.08.2015 / 20:51
0
answers

Advanced queries with "pouchdb-find"

How to do a containing search using pouchdb-find? What I have so far is this but it does not work as expected. db.find(selector: {title: "%" + $scope.pesquisa + "%"}) Is it possible to do with emit ? How would it look?     
asked by 24.07.2015 / 21:16
1
answer

Problem installing pouchdb

I'm having trouble installing pouchdb on my computer, I do not know what else to do. C:\Users\yagos>npminstallpouchdb  [email protected]:\Users\yagos\node_modules\leveldown  prebuild-install||node-gyprebuildprebuild-installWARNinstallNopr...
asked by 21.12.2018 / 18:21