feophant 0.9.0

A SQL database server written in Rust and inspired by PostreSQL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod common;

#[tokio::test]
async fn simple_insert() -> Result<(), Box<dyn std::error::Error>> {
    let (request_shutdown, client) = common::_create_server_and_client().await?;
    client
        .batch_execute("create table foo (bar text, baz text not null, another text null)")
        .await?;

    client
        .batch_execute("insert into foo (another, baz, bar) values(null, 'two', 'three')")
        .await?;

    common::_request_shutdown(request_shutdown).await
}