java拦截Couchbaselite中的CRUD操作
在Couchbase lite文档返回给调用方之前,我必须进行一些检查
For Example:
Document doc = database.getExistingDocument(docId);
doc.putProperties(props);
我想要的是在将返回的文档分配给“doc”之前访问它,并且在将新修订提交到存储之前拦截“props”。可能需要“BeforeGetListener”和“BeforePutListener”之类的帮助,因为我有很多get和put
有没有办法拦截Couchbase lite中的积垢操作
共 (0) 个答案