Skip to content

LevyMarfim/lua-pgsql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Lua-pgsql is a simple sql connector to postgres database.

How to use

Replace the string argument in postgres.connect located at test.lua with your database parameters. If you database has the following parameters:

Parameter Value
host localhost
dbname database
user admin
password passwd

then replace to the following:

postgres.connect("host=localhost dbname=database user=admin password=passwd")

Run test.lua with any valid query in you database to retrieve the result as

lua test.lua

Version

Current version of this project is 1.0.

About

Simple Lua connector to Postgres database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published