> For the complete documentation index, see [llms.txt](https://willh.gitbook.io/build-web-application-with-golang-zhtw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://willh.gitbook.io/build-web-application-with-golang-zhtw/05.0/05.7.md).

# 小結

這一章我們講解了 Go 如何設計 database/sql 介面，然後介紹了各種第三方關係型資料庫驅動的使用。接著介紹了 beedb，一種基於關係型資料庫的 ORM 函式庫，如何對資料庫進行簡單的操作。最後介紹了 NoSQL 的一些知識，目前 Go 對於 NoSQL 支援還是不錯，因為 Go 作為 21 世紀的 C 語言，那麼對於 21 世紀的資料庫也是支援的相當好。

透過這一章的學習，我們學會了如何操作各種資料庫，那麼就解決了我們資料儲存的問題，這是 Web 裡面最重要的一部分，所以希望大家能夠深入的去了解 database/sql 的設計思想。

> [Go database/sql tutorial](http://go-database-sql.org/) 裡提供了慣用的範例及詳細的說明。

## links

* [目錄](https://github.com/doggy8088/build-web-application-with-golang-zhtw/tree/6f78a19ff83725ed311e47c1306b56c5b1e6204d/preface.md)
* 上一節: [NoSQL 資料庫操作](/build-web-application-with-golang-zhtw/05.0/05.6.md)
* 下一章: [session 和資料儲存](/build-web-application-with-golang-zhtw/06.0.md)
