Hi,
I’m cruising on CBLite 2.0 beta, SGW 2.0 beta and CBS 5.1
I want to configure the databases.foo_db.event_handlers.document_changed
event handler. In short, I want to create the document on the couchbase server bucket of course but also post every non-existent document for creation in a MSSQL datbase.
I was wondering two things:
- is document_changed also fired with new documents that have no id existing in the bucket?
- is there a way to filter those new documents, thus documents with no pre-existence in the bucket?
Any ideas on this?