I have a different eventing function scoped to a different bucket that works fine. Is there some permissions or configuration I need for the bucket? I’m using Enterprise Edition 7.1.1 build 3175
function OnUpdate(doc, meta) {
log(“Doc created/updated”, meta.id);
var results = select * from xxxx;
log(results);
results.close
}
function OnDelete(meta, options) {
log(“Doc deleted/expired”, meta.id);
}