FFIValue.Type

tagged union type

Values

ValueMeaning
Null

This represents NULL in SQL.

Identifier

Representation of an identifier. The value will not be escaped, so do not pass unchecked data to it.

Column

Representation of a column.

String

The value represents a string, being escaped (e.g. quoted)

I64

The value represents a 64 bit signed integer

I32

The value represents a 32 bit signed integer

I16

The value represents a 16 bit signed integer

Bool

The value represents a boolean value (true or false)

F64

The value represents a 64 bit floating point value

F32

The value represents a 32 bit floating point value

Binary

Binary representation

NaiveTime

Time of day representation

NaiveDate

Date representation

NaiveDateTime

Date and time representation without timezone

Meta