Taking this example 
from http://hardlifeofapo.com/basic-couchbase-querying-for-sql-people/

SELECT u.id, u.username, u.first_name, u.last_name, u.last_login
FROM users u
WHERE u.id = “1111”;


How do I get the desired u.id from the user and return all documents where 
the u.id is the requested value? I obviously can't hardcode a bunch of 
views for every single case.
I tried using 
this: 
http://tugdualgrall.blogspot.com/2012/12/couchbase-101-create-views-mapreduce.html
but without "System.setProperty("viewmode", "development");", as this seems 
to break everything.

I figured I could create / rewrite a temp view for each type of request, 
but the code from that link doesn't seem to modify the view at all. It also 
returns no results (since it never changes).


This is my first time using Couchbase, and so far I'm not a fan at all. :(

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to