Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.5.0
-
Untriaged
-
Unknown
Description
Build: 6.5.0-4756
Query EXPLAIN UPSERT INTO src_bucket VALUES ("key1", { "a" : "b" }) , failing with syntax error.
function OnUpdate(doc, meta) {
|
try{
|
var query=EXPLAIN UPSERT INTO src_bucket VALUES ("key1", { "a" : "b" }); var key = Date.now()+Math.random();
|
dst_bucket[key]={'passed_query' : 'EXPLAIN UPSERT INTO src_bucket VALUES ("key1", { "a" : "b" });
|
'};
|
}
|
catch(e){
|
var key = Date.now()+Math.random();
|
dst_bucket[key]={'failed_query' : 'EXPLAIN UPSERT INTO src_bucket VALUES ("key1", { "a" : "b" });
|
'};
|
}
|
}
|