Skip to content

Commit 3c33566

Browse files
committed
fix(sqite): emit REAL for float columns in SQLite as the docs use that word a lot more
1 parent 921878a commit 3c33566

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

sqlx-core/src/sqlite/connection/explain.rs

Whitespace-only changes.

sqlx-core/src/sqlite/type_info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl TypeInfo for SqliteTypeInfo {
4141
match self.0 {
4242
DataType::Null => "NULL",
4343
DataType::Text => "TEXT",
44-
DataType::Float => "FLOAT",
44+
DataType::Float => "REAL",
4545
DataType::Blob => "BLOB",
4646
DataType::Int | DataType::Int64 => "INTEGER",
4747
DataType::Numeric => "NUMERIC",

0 commit comments

Comments
 (0)