diff --git a/_docs/README.md b/_docs/README.md index b88a35e..829fa5f 100644 --- a/_docs/README.md +++ b/_docs/README.md @@ -33,4 +33,4 @@ Kemal means *Mature, grown up* in Turkish. - [HTTP Requests and Responses](./http-requests.md) - [Serving JSON API](./json.md) - [Middlewares](./middlewares.md) - - [How to connect to Database](https://github.com/sdogruyol/kemal-pg-sample) + - [Connectiong to database](./database.md) diff --git a/_docs/database.md b/_docs/database.md new file mode 100644 index 0000000..01f3b28 --- /dev/null +++ b/_docs/database.md @@ -0,0 +1,13 @@ +--- +layout: doc +title: "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.