hi,

i need to execute the following query:

update `bucket1` use keys "abc123" set version.description="blabla" for 
version IN versions WHEN version.`status`="ACTIVE" END returning versions;

through my code i use n1ql with the expression language.
are WHEN, In, FOR etc available through the expression language the same 
way UPDATE, USE KEYS, SET etc. are?
if yes, could someone give me a hint on how the entire query above can be 
build, starting with 

N1qlQuery.simple( Update.update( i( *"bucket1"* ) ).useKeys( s("abc123" ) 
).set( x( "version.description" ), s( "blabla" ) ) )......



thanks!

-- 
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