i need to execute the following query:
bucket1use 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” ) ) )…