You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Rishabh Daim (Jira)" <ji...@apache.org> on 2024/05/23 04:38:00 UTC

[jira] [Resolved] (OAK-10823) Support Oak-mongo.js remove functions with mongosh shell

     [ https://issues.apache.org/jira/browse/OAK-10823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rishabh Daim resolved OAK-10823.
--------------------------------
    Fix Version/s: 1.66.0
       Resolution: Fixed

> Support Oak-mongo.js remove functions with mongosh shell
> --------------------------------------------------------
>
>                 Key: OAK-10823
>                 URL: https://issues.apache.org/jira/browse/OAK-10823
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Rishabh Daim
>            Assignee: Rishabh Daim
>            Priority: Major
>             Fix For: 1.66.0
>
>
> Functions to remove nodes in the oak-mongo.js file don't work with the *mongosh* shell.
> Reason: we are using *db.collection.remove()* to delete nodes which return *
> { acknowledged: true, deletedCount: 0 }
> * for _*mongosh*_ and *WriteResult(\{ "nRemoved" : 0 })* for _*mongo*_ shell.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)