taos 0.12.3

Driver for TDengine - a timeseries database and analysis platform
Documentation
1
2
3
4
5
6
7
8
use anyhow::Result;
use taos::sync::*;

fn main() -> Result<()> {
    let taos = TaosBuilder::from_dsn("taos://")?.build()?;
    taos.exec("create database if not exists db1")?;
    Ok(())
}