▲ 0 r/rust
Basically, the title. Do you use the constructor on your type (typically a "new" function) when fetching from the DB, or do you trust the DB's output to be valid?
u/Helpful-Educator-415 — 24 days ago
Basically, the title. Do you use the constructor on your type (typically a "new" function) when fetching from the DB, or do you trust the DB's output to be valid?