summaryrefslogtreecommitdiff
path: root/db.lua
blob: e87b1b64ff40544a517db5681799f11de0f9770d (plain)
1
2
3
4
5
6
local lmdb=require'lmdb'
local env=lmdb.open('data',{maxdbs=16})
return {
	env=env,
	txn=function(...) return env.txn_begin(...) end,
}