Relative Content

Tag Archive for mongodbrust

MongoDB find – this method takes 1 argument but 2 arguments were supplied

this method takes 1 argument but 2 arguments were supplied –> srcmain.rs:62:27 | 62 | let mut cursor = my_coll.find( | ^^^^ 63 | doc! { “cuisine”: “French” }, | ______________________________________- 64 | | None | | —- | |_________|__| | | help: remove the extra argument | unexpected argument of type `std::option::Option<_>` I am […]