Constant database wrapper