Controlling HTTP header: Cache-Control

2010-12-15 Thread sleepy
Is there a way to control HTTP header: Cache-Control in CouchDB?

Re: schema-driven data entry UI

2010-12-15 Thread Kenneth Tyler
Alexander, I have been working on something like this. In my case I am building documents inside of the couchdb that are templates. These templates are then used by a javascript library to erect a UI for data entry. I have written a little about it at http://crumbsinthecouch.com/ although i am beh

Re: schema-driven data entry UI

2010-12-15 Thread Chris Johnson
I have been reading the Beginning CouchDB book from APress and it walks you through building a small application (task manager) in Chapter 10. As part of this, it talks about building a web page (the user interface) and how to post and retrieve data from Couch. They use CouchApp to build the appli

schema-driven data entry UI

2010-12-15 Thread Alexander Bolotnov
Hi, Is there a tool (I suspect something like this exists for SQL databases) that will allow me to define a schema and build a data-entry UI that users will fill out to push data to couchDB? Or nothing has yet been created in this field and I have to write something by myself. Perhaps, something l

RE: Doubts with start and end keys + descending=true

2010-12-15 Thread Nils Breunese
You quite literally need to flip your startkey and endkey, so you'll need to query with ?startkey=[%22arg%22,{}]&endkey=[%22mex%22]&descending=true Nils. Van: Fabio Batalha Cunha dos Santos [fabio.bata...@scielo.org] Verzonden: woensdag 15 december 2010 21

Re: Doubts with start and end keys + descending=true

2010-12-15 Thread Fabio Batalha Cunha dos Santos
Now the descending parameter is working but I'm still not having the expected result. For example: 1. Results from arg to mex in ascending mode. http://fabiobatalha.couchone.com/scieloorg/_design/couchdb/_view/article_date?startkey=[%22arg%22]&endkey=[%22mex%22,{}] the result have arg,chl and me

Re: Doubts with start and end keys + descending=true

2010-12-15 Thread Matthew Woodward
On Wed, Dec 15, 2010 at 10:58 AM, Sebastian Cohnen < sebastiancoh...@googlemail.com> wrote: > try to flip startkey/endkey when discending=true :) > Yep, ran into this just yesterday and that was indeed the trick. -- Matthew Woodward m...@mattwoodward.com http://blog.mattwoodward.com identi.ca /

Re: Doubts with start and end keys + descending=true

2010-12-15 Thread Sebastian Cohnen
try to flip startkey/endkey when discending=true :) On 15.12.2010, at 18:49, Fabio Batalha Cunha dos Santos wrote: > Hello All, > > I'm trying to set the descending=true in a view query when using the > parameters start/end keys. > > Example: > > results a bunch of registers! > http://fabiobat

Doubts with start and end keys + descending=true

2010-12-15 Thread Fabio Batalha Cunha dos Santos
Hello All, I'm trying to set the descending=true in a view query when using the parameters start/end keys. Example: results a bunch of registers! http://fabiobatalha.couchone.com/scieloorg/_design/couchdb/_view/article_date?startkey=[%22arg%22]&endkey=[%22arg%22,{}] results an empty list! http:

Re: Preferred C/C++ client library

2010-12-15 Thread Alistair Cunningham
On 14/12/10 19:40, Matt Jennings wrote: I'm using couchdbpp with success in a current project: http://code.google.com/p/couchdbpp/ I'm a little put off by the 0.0.1 version number and lack of documentation. How mature is it? Alistair Cunningham +1 888 468 3111 +44 20 799 39 799 http://integr

Implemented SELECT COUNT(DISTINCT key) SQL query like operation.

2010-12-15 Thread Yasuhiro ABE
Hi all, I implemented the group_numrows operation which calculates the number of reduced group rows. As an example, a view has four unique keys. $ curl 'http://localhost:5984/example/_design/all/_view/all?group=true' {"rows":[ {"key":["bar","35"],"value":3}, {"key":["foo","25"],"