lua-users home
lua-l archive

Re: Luasql question and some other help

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


	Hi
On 2012年4月17日, 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

AltStyle によって変換されたページ (->オリジナル) /