Date: Thu, 28 Mar 2024 14:51:00 +0100 (CET) Message-ID: <2064087848.25.1711633860757@vmisdata19.uni-oldenburg.de> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_24_1720412790.1711633860756" ------=_Part_24_1720412790.1711633860756 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Odysseus allows to read and write from a MongoDB store. As Mongo= DB stores its content in JSON format, only JSON can be read from MongoDB. T= uples send to MongoDB will automatically be transformed.
To use MongoDB please install the MongoDB-Feature.
Writing can be done with the Operator MongoDBSink.
out =3D= MONGODBSINK({HOST =3D 'localhost', PORT =3D 27017, Database =3D 'test', CO= LLECTIONNAME =3D 'person2'}, person)
Reading can be done with the Operator MongoDBSource. Remark: The source = will always read key value objects. If you want to have tuples you need to = apply the KeyValueToTuple op= erator.
in =3D = MONGODBSOURCE({COLLECTIONNAME =3D 'person', HOST =3D 'localhost', PORT =3D = 27017, Database =3D 'test'})