cot-cli 0.6.0

Command-line interface for the Cot web framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use cot::db::{Auto, model};

#[model]
struct r#const {
    #[model(primary_key)]
    id: Auto<i32>,
    r#abstract: String,
    r#type: i32,
}

#[model(table_name = "use")]
struct TestModel {
    #[model(primary_key)]
    id: Auto<i32>,
}