Re: Doubt on map/reduce and "joins" by id

2012-10-15 Thread Aurélien Bénel
Hi Andrea, > - Customer: {customerID, customerName, address, branch, branchID} > - Product: { productID,productName, category_1ID, category_1Name, > ... >category_xID,category_xName,priceStandard} > - Orders: {orderID,orderRowNumber,customerID, prod

Doubt on map/reduce and "joins" by id

2012-10-15 Thread Andrea Di Mario
Hi, i'm a new CouchDB user and i'm working on this documents: - Customer: {customerID, customerName, address, branch, branchID} - Product: { productID,productName, category_1ID, category_1Name,... category_xID,category_xName,priceStandard} - Orders: {order

Re: how to recreate _users database?

2012-10-15 Thread Jan Lehnardt
On Oct 15, 2012, at 13:35 , svilen wrote: > >>> i was playing with replacing users-db >>> via /_config/couch_httpd_auth/authentication_db and an error in the >>> request has left some messy name in the /etc/couchdb/local.ini - >>> and that survives even reinstall >> >> Yeah, that is intentiona

Re: newbie question, add new documents

2012-10-15 Thread matt j. sorenson
> Is there any way to add ducument as the above jsons, or just add one by >>> one from : >>> >>> http://127.0.0.1:5984/_utils/**database.html?addressbook >> >> I wonder if the orignal poster was looking simply for a way to add an entire docume

Re: how to recreate _users database?

2012-10-15 Thread svilen
> > i was playing with replacing users-db > > via /_config/couch_httpd_auth/authentication_db and an error in the > > request has left some messy name in the /etc/couchdb/local.ini - > > and that survives even reinstall > > Yeah, that is intentional, we don't want to override any > customisation

Re: how to recreate _users database?

2012-10-15 Thread Jan Lehnardt
On Oct 15, 2012, at 13:14 , svilen wrote: > 1.2.0 but i found it. Cool! > i was playing with replacing users-db via > /_config/couch_httpd_auth/authentication_db > and an error in the request has left some messy name in > the /etc/couchdb/local.ini - and that survives even reinstall Yeah, th

Re: how to recreate _users database?

2012-10-15 Thread svilen
1.2.0 but i found it. i was playing with replacing users-db via /_config/couch_httpd_auth/authentication_db and an error in the request has left some messy name in the /etc/couchdb/local.ini - and that survives even reinstall have fun svilen On Mon, 15 Oct 2012 13:00:36 +0200 Jan Lehnardt wrote

Re: how to recreate _users database?

2012-10-15 Thread Jan Lehnardt
That sounds odd, which CouchDB version are you running? On Oct 15, 2012, at 12:49 , svilen wrote: > hi > the _users db is deleted on me filesystem. > And now restarting couchdb fails > with ..illegal_database_name, ensure_users_db_exists > > reinstalling didnt help.. > any idea? > > svilen

how to recreate _users database?

2012-10-15 Thread svilen
hi the _users db is deleted on me filesystem. And now restarting couchdb fails with ..illegal_database_name, ensure_users_db_exists reinstalling didnt help.. any idea? svilen

Re: newbie question, add new documents

2012-10-15 Thread john.tiger
On 10/15/2012 02:10 AM, Dave Cottlehuber wrote: On 15 October 2012 05:02, A. Lotfi wrote: Hi, I am new to couchDB, just started to read tutorials about it, I found this one : http://blog.edparcell.com/using-jquery-and-couchdb-to-build-a-simple-we Welcome! In the first page it says : The i

Re: newbie question, add new documents

2012-10-15 Thread Aurélien Bénel
> http://blog.edparcell.com/using-jquery-and-couchdb-to-build-a-simple-we >> Since this is the very beginning of the tutorial, I suppose the author >> wanted you to simply add them one by one. >>> You can use any http library to add documents, but command line cURL is a >>> very good place to sta

Re: newbie question, add new documents

2012-10-15 Thread Dave Cottlehuber
On 15 October 2012 05:02, A. Lotfi wrote: > Hi, > I am new to couchDB, just started to read tutorials about it, I found this > one : > http://blog.edparcell.com/using-jquery-and-couchdb-to-build-a-simple-we Welcome! > In the first page it says : > > The initial version of our webapp will let u