diff --git a/lib/MySQL.lua b/lib/MySQL.lua index 5a4c23c..ebbe921 100644 --- a/lib/MySQL.lua +++ b/lib/MySQL.lua @@ -305,4 +305,8 @@ function MySQL.ready(callback) cb() end) -end \ No newline at end of file +end + +--- Register `MySQL` as global variable +_G.MySQL = MySQL +_ENV.MySQL = MySQL \ No newline at end of file