Expand description
Row mapping utilities for converting database rows to domain models.
uuid columns in the Things 3 SQLite database hold strings the database
itself produced — either Things-native 21–22-char base62 IDs or hyphenated
UUIDs that SqlxBackend generated for new entities. Both are valid
ThingsId values; we wrap them via ThingsId::from_trusted without
re-validating, since the DB is the source of truth.
Functions§
- map_
project_ row - Map a
TMTaskrow (wheretype = 1) into aProject. - map_
task_ row - Map a database row to a Task struct