Add comment regarding booleans in MySQL

This commit is contained in:
Jon Pacheco 2020-03-31 20:35:03 +01:00
parent 89c9b059e6
commit 38e630d107

View File

@ -88,6 +88,8 @@ ORDER BY id
.fetch_all(pool)
.await?;
// NOTE: Booleans in MySQL are stored as `TINYINT(1)` / `i8`
// 0 = false, non-0 = true
for rec in recs {
println!(
"- [{}] {}: {}",