|
Hi listers, Suppose the following example:
require('lsqlite3') database = { filename = 'test.db', connection = sqlite3.open(database.filename) } An error shows up because I can't use "database.filename" inside the table "database". If I had done the following example, everything it will be right:
database = { filename = 'test.db', connection = sqlite3.open('test.db') } I don't discuss if it's a good idea to call sqlite3.open as a field of a table. My doubt is: how to call another field of the same table inside the table?
Luciano de Souza |