πΎdb
Utilizing database
Name
Type
Description
-- look up for database key named "test"
-- returns the new table if database returned nil
local data = db.test or { }
data.name = 'Salvatore'
data.project = 'Spirthack Innovations LLC'
events.shutdown:set(function()
-- replace "test" key with the new value
db.test = data
end)Last updated