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
0
votes
2 answers

couchDB sort result array by date if date is stored in an array of integers?

I'm storing couchDB docs and they have an attribute date which I want to sort by. { ...blahblah... "date": [ 2015, 5, 16 ] } I can't seem to figure out how to make a view that allows me to supply a…
tim
  • 3,823
  • 5
  • 34
  • 39
0
votes
2 answers

is couchDB just not the right tool for large datasets?

I'm looking into couchDB. If i understand correctly, you can't just send a "query" to couchDB and do a partial update. For example this document called "users" (simplified for clarity): { allusers: [ {"id": 1, "username":"myuser1",…
tim
  • 3,823
  • 5
  • 34
  • 39
0
votes
1 answer

Unable to import data from CouchDB

I am trying to import and then export data to a remote machine. Here goes the schema of the database. This is just a document that I got it in a form of…
user4563977
0
votes
1 answer

Couch DB escape characters

I have a list function for CouchDB, but I can't get it into the DB because I'm constantly getting syntax erros. Here is the function: function(head,req) { var headers; start({'headers':{'Content-Type' : 'text/csv; charset=utf-8;…
Markuz Shultz
  • 678
  • 3
  • 9
  • 22
0
votes
1 answer

adding field into Document with curl CouchDB without a new rev

I want to update or insert a filed in my document in CouchDB without a new rev number. Is that possible with curl ? For example like Futon. If i open a document with futon and add a new field or update a filed its done without a new revision…
Relaxo
  • 43
  • 6
0
votes
1 answer

Fauxton errors in requre file

I installed CouchDB and it came with Fauxton. I can access it fine from: http://localhost:5984/_utils/fauxton/# I am using CoucbDB 1.6.1 (not sure how to find version number of Fauxton) I am getting two JavaScript errors (both in require.js): When…
Connel
  • 1,844
  • 4
  • 23
  • 36
0
votes
1 answer

How to find matching datas from two json documents in couchdb?

How to find matching datas from two json documents.For ex: I have two json documents and skills json documents. In Skills Document: { "_id": "b013dcf12d1f7d333467b1447a00013a", "_rev": "3-e54ad6a14046f809e6da872294939f12", …
0
votes
1 answer

couchdDB dbroot issue

I am using couchdb. I am new to it. I don't know what to have in dbroot value in place of "db/". I have taken this code from one of coucdb tutorial. Thanks in advance for your help. //Use a namespace to protect the scope of function and variable…
Hussnain Cheema
  • 152
  • 5
  • 15
0
votes
1 answer

CouchDB View to handle "OR" logic?

First time posting on StackOverflow, so bear with me.... I have a JSON document that contains LastName, FirstName, SSN (encrypted), Address, Phone. The application allows the User to search based on LastName/FirstName OR SSN OR Address OR Phone. …
0
votes
1 answer

How to push array into particular array objects in couchdb json document

While updating, couchDB json documents having two separate arrays. But i push one array into particular array of objects. { "_id":"employee_skill_doc", "_rev":"269-e99377ad5d9e746a9d5b4777e7a50e46", "skills":[ { "skill_name": "Dassault…
Nithya
  • 11
  • 2
0
votes
1 answer

multiple file upload integration in couchdb and yii

Is it possible to integrate multiple file upload in couchdb and yii? If yes ,then how can implement ? And what are the issues will face while integrating multiple file upload in couchdb ?
soundari
  • 35
  • 1
  • 6
0
votes
1 answer

Retrieving multiple attachments with multiple documents

I'm building an app right now using couchdb, spring, and angularjs. On my UI I'm creating a document with attachments inside it (image) and I'm submitting them to my server which validates and then submits to the database. When I want to retrieve…
MorningDew
  • 503
  • 3
  • 9
0
votes
1 answer

Error occurred while writing a data into CouchDB

I am trying to Delete the whole data from the CouchDB and again i am trying to write same data with modified **_id field and some extra field ** but i am getting following error : { 'reason' => 'Document update conflict.', 'error'…
0
votes
1 answer

WHERE OR Query - CouchDB

How would I do a "where or" query in couchDB? I am used to SQL and would normally do something like: SELECT * FROM Customers WHERE City='Berlin' OR City='München'; I have a basic view in futon that looks like: function(doc) { if(doc.city) { …
Rob H
  • 36
  • 3
0
votes
1 answer

Use linux timestamp in CouchDB map function

Trying to update an existing CouchDB map function so that it only returns docs created in the past 24 hours. The current map is very simple function(doc) { if(doc.email && doc.type == 'user') emit(doc.email, doc); } I'd like to get the…
lazybloke
  • 395
  • 1
  • 3
  • 9