webmcp

view demo-app/app/main/_postfork/01-db.lua @ 539:5a6e04f8220b

Added tag v2.2.0 for changeset 8bb8f08d1d55
author jbe
date Tue Apr 02 00:02:34 2019 +0200 (2019-04-02)
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