omas.save_omas_mongo

omas.save_omas_mongo(ods, collection, database='omas', server='mongodb+srv://{user}:{pass}@omasdb.xymmt.mongodb.net')[source]

Save an ODS to MongoDB

Parameters
  • ods – OMAS data set

  • collection – collection name in the database

  • database – database name on the server

  • server – server name

Returns

unique _id identifier of the record