You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pouchdb.apache.org by ja...@apache.org on 2025/12/08 08:26:06 UTC

(pouchdb) 01/01: feat: support Couchbase Sync Gateway _cv field, closes #9159

This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch feat/support-sync-gateway-cv-field
in repository https://gitbox.apache.org/repos/asf/pouchdb.git

commit 8087ca9b27d34e5575c78868293830919913daac
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Mon Dec 8 09:25:54 2025 +0100

    feat: support Couchbase Sync Gateway _cv field, closes #9159
---
 packages/node_modules/pouchdb-adapter-utils/src/parseDoc.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/node_modules/pouchdb-adapter-utils/src/parseDoc.js b/packages/node_modules/pouchdb-adapter-utils/src/parseDoc.js
index cde03d131..66ef58d58 100644
--- a/packages/node_modules/pouchdb-adapter-utils/src/parseDoc.js
+++ b/packages/node_modules/pouchdb-adapter-utils/src/parseDoc.js
@@ -32,7 +32,8 @@ var reservedWords = toObject([
   '_replication_state_reason',
   '_replication_stats',
   // Specific to Couchbase Sync Gateway
-  '_removed'
+  '_removed',
+  '_cv'
 ]);
 
 // List of reserved words that should end up in the document