The package provides a relational database.
```rust use database::prelude::*;
let database: Database
let query = CreateTable::new() .name("foo") .column(|column| column.name("bar").kind(Type::Float)) .column(|column| column.name("baz").kind(Type::Integer)); database.execute(query).unwrap();
let query = Insert::new().table("foo").column("bar").column("baz"); let mut statement = database.prepare(query).unwrap(); statement.execute(&[Value::Float(42.0), Value::Integer(69)]).unwrap();
let query = Select::new().table("foo"); let mut statement = database.prepare(query).unwrap(); statement.execute(&[]).unwrap();
while let Some(record) = statement.next().unwrap() { asserteq!(record[0], Value::Float(42.0)); asserteq!(record[1], Value::Integer(69)); } ```