Hi,
I don't know how to return a lua table or a string which I get from my sql database...
Can anybody give me an example how I could do it.
I tryed
but there it returned "MySql cursor <some number>"
I don't know how to return a lua table or a string which I get from my sql database...
Can anybody give me an example how I could do it.
I tryed
Code:
ext = assert(con:execute("SELECT `itemname` FROM `backpack` ORDER BY `id` LIMIT 5;"))