256dpi / lungo

A MongoDB compatible embeddable database and toolkit for Go.
MIT License
459 stars 15 forks source link

Add support for arrayFilters in bsonkit.Apply #1

Closed amreo closed 4 years ago

amreo commented 4 years ago

https://godoc.org/github.com/256dpi/lungo/mongokit#Apply https://docs.mongodb.com/manual/reference/method/db.collection.update/

I want to change the values of some items of a array. I think that Apply needs a another param.

256dpi commented 4 years ago

Array filters have not yet been implemented, hence the missing parameter to Apply. Once the implementation lands it will be added.

256dpi commented 4 years ago

Done!