-
-
Notifications
You must be signed in to change notification settings - Fork 0
Module: Account
Аниса edited this page Jun 16, 2022
·
34 revisions
dbify.account.fetchAll({
--These are key datas to be used for the condition query (Optional)
{key_columnName1, key_columnValue1},
{key_columnName2, key_columnValue2},
...
}, callback(result, arguments)
print(toJSON(result))
print(toJSON(arguments))
end, ...)
dbify.account.create(accountName, callback(result, arguments)
print(tostring(result))
print(toJSON(arguments))
end, ...)
dbify.account.delete(accountName, callback(result, arguments)
print(tostring(result))
print(toJSON(arguments))
end, ...)
dbify.account.setData(accountName, {
--These are account datas to be updated
{dataName1, dataValue1},
{dataName2, dataValue2},
...
}, callback(result, arguments)
print(tostring(result))
print(toJSON(arguments))
end, ...)
dbify.account.getData(accountName, {
--These are account datas to be retrieved
dataName1,
dataName2,
...
}, callback(result, arguments)
print(toJSON(result))
print(toJSON(arguments))
end, ...)