Module 'db'
Module 'db'
It is used to work with the database. Each script has an independent namespace. It is not possible to transfer data between scripts.
Functions:
set(key: string, obj: table) (may throw an error)
Puts Lua object in database.
get(key: string) return: table (may throw an error)
Gets the object from the database by the Lua key.
2019 All rights reserved