An easy-to use basic mssql server ORM based on tiberius.
This crate is still under construction, apis may subject to change.
For full documentation pls visit doc.rs.
Quick Glance:
When defining structs, make sure keep the field sequence consistent with the sequence in database as bulk insert(insert_many) depends on it.
use *;
use ;
// other schema
// default schema
async
TODO:
- handle multiple relationships
- build filter pattern
- support raw sql string query
- handle non-manual input key like auto-generated id
- handle
GROUP BY
aggregation - support filter with decorated col like
WHERE YEAR(datetime_col) = ?