Where should I add spec for insert_many for this case? #2430
|
Hello, collection.insert_many((1..100).lazy.map{ |s| { _id: "id_#{s}" } } )
|
Answered by
alexbevi
Mar 24, 2023
Replies: 2 comments
|
Hi @midnight-wonderer , thanks for considering this. The test can go into https://github.com/mongodb/mongo-ruby-driver/blob/master/spec/mongo/collection_crud_spec.rb#L351. I also filed https://jira.mongodb.org/browse/RUBY-3087 to track this request. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RUBY-3087 was delivered in 2.18.2 of the driver :)