Skip to main content

COLLATE

Constant COLLATE 

Source
pub const COLLATE: ColumnMarker;
Expand description

Specifies a collation sequence for a text column.

ยงExample

#[column(COLLATE = NOCASE)]
name: String,

// String form for custom registered collations:
#[column(COLLATE = "my_collation")]
label: String,

See: https://sqlite.org/datatype3.html#collation