webmcp

view demo-app/app/main/_postfork/01-db.lua @ 382:810c020b0da4

Reverted changes to mondelefant_result_index and mondelefant_result_newindex C-functions (proxying of JSON document)
author jbe
date Mon Nov 16 18:31:49 2015 +0100 (2015-11-16)
parents 343f9af7f61f
children
line source
1 local db = assert(mondelefant.connect(config.db))
2 function mondelefant.class_prototype:get_db_conn() return db end
3 _G.db = db
4 execute.inner()
5 db:close()

Impressum / About Us