This commit is contained in:
JMARyA 2024-05-03 19:07:42 +02:00
parent de2b02bf79
commit c6bcd9ca07
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -65,6 +65,7 @@ impl Variant {
let db = get_mongo!();
let mut ses = db.start_session(None).await.unwrap();
ses.start_transaction(None).await.unwrap();
let col: mongodb::Collection<mongodb::bson::Document> =
ses.client().database("cdb").collection("supply");