mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Add database doc
This commit is contained in:
parent
dff1405934
commit
fbf119078f
2 changed files with 14 additions and 1 deletions
|
@ -33,4 +33,4 @@ Kemal means *Mature, grown up* in Turkish.
|
||||||
- [HTTP Requests and Responses](./http-requests.md)
|
- [HTTP Requests and Responses](./http-requests.md)
|
||||||
- [Serving JSON API](./json.md)
|
- [Serving JSON API](./json.md)
|
||||||
- [Middlewares](./middlewares.md)
|
- [Middlewares](./middlewares.md)
|
||||||
- [How to connect to Database](https://github.com/sdogruyol/kemal-pg-sample)
|
- [Connectiong to database](./database.md)
|
||||||
|
|
13
_docs/database.md
Normal file
13
_docs/database.md
Normal file
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue