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

Method update

examples/loco_seaography/src/controllers/notes.rs:17–20  ·  view source on GitHub ↗
(&self, item: &mut ActiveModel)

Source from the content-addressed store, hash-verified

15
16impl Params {
17 fn update(&self, item: &mut ActiveModel) {
18 item.title = Set(self.title.clone());
19 item.content = Set(self.content.clone());
20 }
21}
22
23async fn load_item(ctx: &AppContext, id: i32) -> Result<Model> {

Callers 6

addFunction · 0.45
updateFunction · 0.45
verifiedMethod · 0.45
reset_passwordMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected