0
在我Luminus公司的應用程序中執行多個請求我有這樣的:Luminus公司 - 同一個數據庫連接
(defn page1 [id]
(layout/render "page1.html"
{:article (db/get-single-article {:id (Integer/parseInt id)}))
我想執行相同的數據庫連接中有多個不同的請求到數據庫。我怎樣才能做到這一點?
是否要使用相同的db連接或db事務? –
@PiotrekBzdyl,連接。 –