rquery-orm 1.0.0

Lightweight SQL ORM for Rust with query-style (MSSQL + PostgreSQL).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod db;
pub mod infrastructure;
pub mod mapping;
pub mod query;
pub mod repository;
pub mod services;

pub use db::{connect_mssql, connect_postgres, DatabaseRef, DbKind};
pub use infrastructure::generic_repository::GenericRepository;
pub use mapping::{
    ColumnMeta, Entity, FromRowNamed, FromRowWithPrefix, KeyAsGuid, KeyAsInt, KeyAsString,
    KeyMeta, Persistable, RelationMeta, TableMeta, Validatable,
};
pub use query::{DualQuery, Expr, JoinType, PlaceholderStyle, Query, SqlParam, ToParam};
pub use repository::{Crud, QueryExecutor, Repository};

pub use rquery_orm_macros::Entity; // derive macro