df-db 0.1.2

This is an orm database mysql mssql sqlite
Documentation
# df-db ORM 数据库
----

[![License](https://img.shields.io/crates/l/MIT)](LICENSE-MIT)
[![Crates.io Version](https://img.shields.io/crates/v/df-db)](https://crates.io/crates/df-db)

# Installation

----

**Cargo.toml**

```toml
[dependencies]
df-db = "*"
```

## 支持数据库

* Mysql
* Sqlite
* Mssql

## 配置

````json
{
  "default": "mysql",
  "connections": {
    "sqlite": {
      "mode": "sqlite",
      "keyauto": false,
      "hostname": "/系统目录/",
      "hostport": "",
      "database": "testDB",
      "username": "",
      "userpass": "",
      "charset": "utf8mb4",
      "prefix": "",
      "params": [],
      "debug": false
    },
    "mysql": {
      "mode": "mysql",
      "keyauto": false,
      "hostname": "127.0.0.1",
      "hostport": 3306,
      "database": "",
      "username": "",
      "userpass": "",
      "charset": "utf8mb4",
      "prefix": "",
      "params": [],
      "debug": true
    },
    "mssql": {
      "mode": "mssql",
      "keyauto": false,
      "hostname": "127.0.1",
      "hostport": 1433,
      "database": "",
      "username": "",
      "userpass": "",
      "charset": "utf8mb4",
      "prefix": "",
      "params": [],
      "debug": true
    }
  }
}
````