vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Variable UpdateResult.upsertedIds

The identifier of the inserted document if an upsert took place. Can be none if no upserts took place, can be multiple if using the updateImpl helper.

struct UpdateResult
{
  // ...
  BsonObjectID[] upsertedIds ;
  // ...
}
Authors

Jan Jurzitza

Copyright

© 2022 Jan Jurzitza

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.