Triggers in couchabse
Hi Everyone ,
Is it possible to have triggers in couchbase. for example perform an action if certain type of data in entered or a document with a certain key is update?
No, Couchbase server does not have any triggers. This is a choice of implementation. We do not want to have any business logic on the server side that could impact the performance (and resources)
So if you have some logic to do before/after your operations you must do it in your application.
This is very common in most of the NoSQL engine.