Skip to main content

Module types

Module types 

Source
Expand description

Zero-sized SQL type markers for the SQLite dialect.

Each marker stands for one storage class or affinity at compile time. The traits in crate::sql say which markers can be compared, assigned, or used in arithmetic.

Structsยง

Any
Untyped SQL, such as a raw SQL fragment. Compatible with every SQLite marker.
Blob
BLOB storage class: raw bytes.
Integer
INTEGER storage class: a 64-bit signed integer. Also used for booleans.
Numeric
NUMERIC affinity: stored as an integer or real when possible.
Real
REAL storage class: a 64-bit float.
Text
TEXT storage class: a UTF-8 string.