Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 22.1
Div
Classe2e-refDiv

Otp
Floatingfalse

Rde

Hint_designer
PageDESIGNER:MongoDB
TopicMongoDB Adapter

Tagged Values

<<MongoDBAlias>>

...

Multiexcerpt
MultiExcerptNameread
NameTypeDirectionDescriptionAllowed Values / Examples
databaseStringin
Multiexcerpt
MultiExcerptNamedatabase

Name of the database you want to access. This overwrites the setting on the <<MongoDBAlias>> and <<MongoDBAdapter>>.


collectionStringin
Multiexcerpt
MultiExcerptNamecollection

Name of the collection you want to access. This overwrites the setting on the <<MongoDBAlias>> and <<MongoDBAdapter>>.


optionsMongoDBFindOptionsinMongoDB options for find.
queryStringStringin
Multiexcerpt
MultiExcerptNamequeryString

MongoDB JSON query string.

Info

In contrast to the MongoDB shell, the JSON keys must be quoted properly.

MongoDB query string as valid JSON
handleMongoDBHandleoutHandle to a result set. You can use fetch to get documents from this result set.
resultArray of StringArray of all resulting documents in JSON format.out
Multiexcerpt
MultiExcerptNameresult

Result set as an array. Depending on the array element specified on this parameter, the resulting documents are either presented in extended JSON format (String), or serialized into xUML model structures (<document class>).


Array of <document class>Array of objects of an xUML class representing the document structure.

...

Multiexcerpt
MultiExcerptNameupdate
NameTypeDirectionDescriptionAllowed Values / Examples
databaseStringin

Multiexcerpt include
MultiExcerptNamedatabase
PageWithExcerptMongoDB


collectionStringin

Multiexcerpt include
MultiExcerptNamecollection
PageWithExcerptMongoDB


optionsMongoDBReplaceOptionsinMongoDB options for replace.
queryStringStringin
Multiexcerpt include
MultiExcerptNamequeryString
PageWithExcerptMongoDB
MongoDB query string as valid JSON
documentAny <document class>in

A data structure representing the document you want to replace the selected document with. The old stored document will be replaced by the new one, the MongoDB _id, however, will not change.



rowsAffectedIntegerout
Multiexcerpt include
MultiExcerptNamerowsAffected
PageWithExcerptMongoDB

...