Add: sub_database function

This commit is contained in:
Coder12a 2019-05-19 23:55:05 -05:00
parent e953987c9c
commit 63cfeb4cb9

View File

@ -265,5 +265,11 @@ function colddb.Colddb(dir)
end end
end end
self.sub_database = function(path)
local db = colddb.Colddb(dir .. "/" .. path)
db.set_async(async)
return db
end
return self return self
end end