我试着在http://www.keplerproject.org/luasql/examples.html学习这个例子。
Lua 5.2.0 Copyright (C) 1994-2011 Lua.org, PUC-Rio
> require "luasql.postgres"
> env = assert (luasql.postgres())
stdin:1: attempt to index global 'luasql' (a nil value)
stack traceback:
stdin:1: in main chunk
[C]: in ?
> 我遗漏了什么?
发布于 2012-07-26 03:32:32
你可以试一试
luasql = require "luasql.postgres"
env = assert (luasql.postgres())https://stackoverflow.com/questions/10854971
复制相似问题