mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-30 06:22:01 +00:00
Add comment regarding booleans in MySQL
This commit is contained in:
parent
89c9b059e6
commit
38e630d107
@ -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!(
|
||||
"- [{}] {}: {}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user