From 806b129b1ca73ca33c91f45e8aa2bd4786a8645e Mon Sep 17 00:00:00 2001 From: sdogruyol Date: Sat, 2 Jan 2016 11:54:12 +0200 Subject: [PATCH] Update database doc --- docs/README.md | 2 +- docs/database.md | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 docs/database.md diff --git a/docs/README.md b/docs/README.md index 3ee3c43..026db01 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,4 +30,4 @@ Kemal means *Mature, grown up* in Turkish. - [Serving Static Files](./statics.md) - [Serving JSON API](./json.md) - [Middlewares](./middlewares.md) - - [How to connect to Database](https://github.com/sdogruyol/kemal-pg-sample) + - [Connecting to Database](./database.md) diff --git a/docs/database.md b/docs/database.md new file mode 100644 index 0000000..3894a27 --- /dev/null +++ b/docs/database.md @@ -0,0 +1,11 @@ +# Database Connection + +Kemal supports database connection in an easy and extensible way. Kemal uses +a connection pool to handle all the connections meaning it's scalable by default. + +Currently Kemal supports Postgresql and MySQL with: + +- [kemal-pg](https://github.com/sdogruyol/kemal-pg) +- [kemal-mysql](https://github.com/sdogruyol/kemal-mysql) + +You can check the relevant repo for samples and more info.