MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / set

Method set

src/entity/active_model.rs:80–82  ·  view source on GitHub ↗

Set the Value into an ActiveModel, panic if failed

(&mut self, c: <Self::Entity as EntityTrait>::Column, v: Value)

Source from the content-addressed store, hash-verified

78
79 /// Set the Value into an ActiveModel, panic if failed
80 fn set(&mut self, c: <Self::Entity as EntityTrait>::Column, v: Value) {
81 self.try_set(c, v).unwrap()
82 }
83
84 /// Set the Value into an ActiveModel, return error if failed.
85 ///

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.80
try_setMethod · 0.80

Tested by

no test coverage detected