ORM v.s. SQL
昨天遇到一個奇怪的問題:
想利用 Sequelize 搜尋特定的資料,原本預期會取得多筆結果,但最後只呈現一筆
究竟發生了什麼事情呢?研究半天過後,其實我也不知道,但,就讓我們繼續看下去吧!
什麼是 ORM
ORM 全名是 Object-Relational Mapping,中文稱作「物件關係映射」,意思就是將關聯式資料庫的資料,與物件(Object) 相互映射,目的是讓工程師能夠藉由 ORM…
These were the top 10 stories published by TD’s note; you can also dive into yearly archives: 2020, 2021.