Skip to main content

Module mappers

Module mappers 

Source
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 TMTask row (where type = 1) into a Project.
map_task_row
Map a database row to a Task struct