SeaORM DBML
Database Markup Language (DBML) compiler for SeaORM Entity.
Why DBML?
DBML (Database Markup Language) is an open-source DSL language designed to define and document database schemas and structures. It is designed to be simple, consistent and highly-readable.
Read more: Official docs
This project aims to make use of DBML as a language for writing SeaORM entity.
Output
Below is the example of compiling DBML into SeaORM entity.
Table user {
id integer [pk]
username varchar
role varchar
}
//! Generated by sea-orm-dbml 0.1.0
How to use it?
use ;
use ;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Always welcome you to participate, contribute and together.