Fork of Tomas Filcak's luadb module.