spaceship_db/value

Types

Bindable parameter values for queries.

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

Constructors

  • Int(Int)
  • Float(Float)
  • Text(String)
  • Bool(Bool)
  • Blob(BitArray)
  • Null

Values

pub fn blob(value: BitArray) -> Value
pub fn bool(value: Bool) -> Value
pub fn float(value: Float) -> Value
pub fn int(value: Int) -> Value
pub fn null() -> Value
pub fn text(value: String) -> Value
Search Document