[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Luasql question and some other help
- From: Tomas Guisasola Gorham <tomas@...>
- Date: Tue, 17 Apr 2012 07:59:37 -0300 (BRT)
Hi
On Tue, 17 Apr 2012, Patrick Rapin wrote:
require "luasql.postgres"
Try with :
luasql = require "luasql.postgres"
In Lua 5.2, modules are not exported by default to the global
environment anymore.
(But this depends in fact on how the module is actually implemented).
Correct.
I would like to add that not all drivers actually support Lua
5.2. I've successfully made changes on Postgres, MySQL and SQLite 3,
but failed to test Firebird. I haven't touched the other drivers yet.
Regards,
Tomás