arangojs: keepNull not an option for collection.save?

10 views
Skip to first unread message

Martijn Geers

unread,
Nov 19, 2019, 2:28:22 PM11/19/19
to ArangoDB

I'm going through the documentation for arangojs and looking at the function collection.update(), keepNull is one of the options that can be added. https://github.com/arangodb/arangojs/blob/master/docs/Drivers/JS/Reference/Collection/DocumentManipulation.md

When going through the same documentation for the function collection.save() (https://github.com/arangodb/arangojs/blob/master/docs/Drivers/JS/Reference/Collection/DocumentCollection.md) we find no such option. Why? Do I first need to have an original file, then update that one with keepNull: false before I get it to clean up my documents from any null valued keys? Or is this a lack in the documentation? I think it's correct since I haven't managed to set keepNull to false using collection.save myself.

Simran Brucherseifer

unread,
Nov 23, 2019, 9:23:30 AM11/23/19
to ArangoDB
Reply all
Reply to author
Forward
0 new messages