Posted on 2015/03/252015/03/26 by elleryqnode-orm2 的 one-to-many one-to-many 是用 hasOne() 來定義的,語意上蠻容易讓人搞混。 View the code on Gist. 參考資料: dresende/node-orm2 node-orm2/examples/anontxt at master · dresende/node-orm2