lua-users home
lua-l archive

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


Well assuming that your database is PostgreSQL this works for me

os.execute("psql name_of_your_database -c 'select * from name_of_your_table'");
Of source we could help you more if you told us some useful information.