glite/value

SQLite values.

Types

A value SQLite stores. SQLite has five storage classes.

pub type Value {
  Null
  Integer(Int)
  Real(Float)
  Text(String)
  Blob(BitArray)
}

Constructors

  • Null
  • Integer(Int)

    A 64-bit signed integer.

  • Real(Float)

    A 64-bit float.

  • Text(String)

    UTF-8 text.

  • Blob(BitArray)

    Binary data.

Values

pub fn type_name(value: Value) -> String

The storage class’s name, for messages.

✨ Search Document