KairoDB uses a human-readable syntax to define database tables. Files should be saved with the .kairo extension in the schema/ directory.
.kairo
schema/
table <table_name> { <field_name>: <type> }
string
TEXT
VARCHAR/TEXT
int
INTEGER
bool
BOOLEAN
You can specify default values using the = operator.
=
table posts { title: string published: bool = false views: int = 0 }
//
There was an error while loading. Please reload this page.