Function database::repository::ops::user_ops::update_user
source · pub fn update_user(user_cmd: UpdateUser)
Expand description
takes in the command, targets the table you want to add rows to, establishes a connection to the database, makes a object with the update struct, and adds the object to the table.