Questions tagged [couchdb-futon]

A built-in web-based administration console for apache couchdb. All read / write operation is handled using http request via couchdb restful api.

Typically the url is like :-

http://localhost:5984/_utils/

Basic functionality of futon :-

  • create or delete databases
  • manage individual couchdb documents (analogous to records)
  • testing of map-reduce function
  • monitor couchdb running tasks
  • create views
208 questions
1
vote
2 answers

Update couch db docment date format

Is there way I can update all the date field format existing in documents of couch db change format from DateTime : "07-29-2017 19:07:23" to DateTime : "2017-07-29 19:07:23"
Jamesjin
  • 371
  • 2
  • 6
  • 15
1
vote
1 answer

View active user sessions

Is it possible to view a list of active user sessions on a couchdb server? There doesn't seem to be any mention of such a feature in the couch docs (http://docs.couchdb.org/en/2.0.0/api/server/authn.html#api-auth-session,…
Armand
  • 23,463
  • 20
  • 90
  • 119
1
vote
1 answer

couchdb , procedure to add a CommonJS modules (show list function)

What is the exact procudure to add a CommonJs module on couchdb ? I've read tutorials like: https://caolan.org/posts/commonjs_modules_in_couchdb.html from official…
stackdave
  • 6,655
  • 9
  • 37
  • 56
1
vote
1 answer

couchdb map function gives compilation_error

Am new to couchdb2.0,working on map function.I have written a function function(doc) { if(doc.entityType!=null){ if(doc.cityName!=null && doc.locationName!=null){ var key =[doc.cityName,doc.locationName,doc.entityType] emit(key,…
1
vote
1 answer

Is jQuery still included in CouchDB?

I'm going through this CouchDB tutorial that references a few files - /_utils/script/jquery.js and /_utils/script/jquery.couch.js - that are supposed to be included. Tiny CouchApp
shruggie
  • 33
  • 3
1
vote
1 answer

CouchDB returns wrong JSONObject GET reponse through Android Volley

Hey I have some problems with the my Android CouchDB project. I use Volley for my Network Requests in Android. The problem is that I don't get the full JSON Data back. The url for the Request is:…
1
vote
1 answer

How should i configure my couchone instance?

I am having a wee bit of trouble configuring my couchone instance. I have setup a admin user. But I am still unable to modify any configuration options http://[your-app-name-here].couchone.com/_utils/config.html Throws this error: An error…
Shripad Krishna
  • 10,463
  • 4
  • 52
  • 65
1
vote
2 answers

Configure CouchDB as read-only for non-admins

I recently set up CouchDB on my server, but I'm running into a lack of information regarding changing permissions. I have an admin account, so it's not an admin party, but the restrictions are still looser than I'd like. I'd like the Futon interface…
1
vote
0 answers

Strange issue on reduce function

I always have reduce issue on practicing, like following map and reduce, if I add more document or add more field to emit in the map and reduce like following. it will return values as [], not sure what occur this? problemNumber :…
Jamesjin
  • 371
  • 2
  • 6
  • 15
1
vote
0 answers

Error on running view and list function combination in couchdb

I am trying to use a view and list function combination in couchdb for returning multiple results, as following { "_id": "_design/noid", "_rev": "5-01bdadc2264f0d20fa2875beb9c264c3", "language": "javascript", "views": { "noid":…
Jamesjin
  • 371
  • 2
  • 6
  • 15
1
vote
1 answer

CouchDB get results within timestamp

we have a nice little CouchDB running storing some user habit data for the people using our website. A sample entry looks like this: { "_id": "5a2711671b321c6295acfe04700e3d32", "_rev": "1-a74c2d88a8277d9ad7ceb74406c9bb9e", "search_term":…
TacoVox
  • 141
  • 10
1
vote
0 answers

CouchDB: unable to create database with specific name: "no response"

I use a couch database and I can't create a new db with the name "ad". All the other names I tried don't make any problem. I tried with a smileupps server and with a iriscouch server and the problem is the same (but no problem in local). I have a…
hhh
  • 1,913
  • 3
  • 27
  • 35
1
vote
0 answers

Fetch field of another Doc in CouchDB?

I'm very new to CouchDB and I have a simple task that I have no been able to find a straight answer. I have two related docs: order and invoice invoice = { id: "invoice_id", order: "order_id", values: [...] } order = { id: "order_id", …
kaid
  • 1,249
  • 2
  • 16
  • 32
1
vote
1 answer

How do I get rid of unused views on CouchDB using futon?

Basically what the question says. I have a database where I've created a bunch of different views while trying to learn how the whole thing works. Now I have a few views I really need and a lot of views I don't need. However I have not been able…
Santino
  • 127
  • 3
  • 7
1
vote
1 answer

Fetching data from a view written in CouchDB-Futon using Python

I have a database with around 2 million documents. This database contains a lot of duplicate documents. I wrote a map reduce function in CouchDB-Futon, which removes the duplicates. Now I want to get the values of this view in my python script.…
user4563977