Just wondering how would you insert documents into CouchBase buckets without specifying a key like MongoDB?
Can you only filter and index your results using views or can be done through PHP?
If you mean let the server generate key for you, no. But you can generate this key on the client side, maintaining counter with INCR and use this id as a part of key (like "user:12345", or use UUID.
Of course you caN index your documents using PHP, but in this case your application need to maintain this index too. For example if you need index on email field you can create additional item for each document, but with key storing email and value with I'd of original doc, or using increment schema above and multi get operation you can query range of the documents
Find me on FreeNode IRC in #libcouchbase channel
© 2013 COUCHBASE All rights reserved.