Std.Db.affected
1 declaration
fn
affected: &Std.Db.Rows -> IntThis is a callable function.
What it does
How many rows a statement that produced none reported changing.
Read from the tag the server sends, which is the only place an update says
what it did. A caller checking that an update changed something is checking
this rather than a row count, which for an update is zero either way.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
