Mongo.Ecto.ChangeMap
An Ecto type to represent a partial update of a nested document
Using in queries
change = Mongo.Ecto.Helpers.change_map("name", "name")
MyRepo.update_all Post, set: [author: change]
Summary
cast(value) | Casts to database format |
dump(value) | Converts to a database format |
load() | Change is not a value - it can’t be loaded |
type() | The Ecto primitive type |
Types
Functions
Casts to database format
Converts to a database format
Change is not a value - it can’t be loaded
The Ecto primitive type