データ型

NameRust TypeMySQL Type
tinyintu8 or i8TINYINT
smallintu16 or i16SMALLINT
intu32 or i32INT
bigintu64 or i64BIGINT
floatf32FLOAT
doublef64DOUBLE
varcharStringVARCHAR
booleanboolTINYINT
textStringTEXT
blobVec<u8>BLOB
timestampchrono::DateTimeTIMESTAMP
datetimechrono::DateTimeDATETIME
datechrono::NaiveDateDATE
timechrono::NaiveTimeTIME
decimalrust_decimal::DecimalDECIMAL
array_intVec<u64>JSON
array_stringVec<String>JSON
jsonUser Defined or serde_json::ValueJSON
enumenumUNSIGNED TINYINT
db_enumStringENUM
db_setStringSET
pointsenax_common::types::point::PointPOINT