MONGO.STORE

Stores data on a Mongo database. You can use the Function Wizard for this function.

Syntax

=MONGO.STORE(Producer, Collection, Document)

Arguments

NameDescription
ProducerProducer to use for storing. The database name is configured in the affiliated Connector.
CollectionUse an existing collection or type in any new collection name you need.
DocumentDefine the payload of your document by using a JSON cell range.

Return Value

TRUE, if successful.

Examples

FunctionResultComment
=MONGO.STORE("Producer", "TestCollection", JSON(A1:B4))TRUEThis stores the values in A1:B4 using the "Producer" in the collection "TestCollection"