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
16
use cot::db::{model, Auto, ForeignKey};

#[model]
struct Child {
    #[model(primary_key)]
    id: Auto<i32>,
    parent: ForeignKey<Parent>,
}

#[model]
struct Parent {
    #[model(primary_key)]
    id: Auto<i32>,
}

fn main() {}