lua-users home
lua-l archive

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


On 17 February 2015 at 19:17, Geoff Leyland <geoff_leyland@fastmail.fm> wrote:
> now I need to connect to Postgres, so it’s probably time I educated myself a bit.

luapgsql is a postgres library: https://github.com/mbalmer/luapgsql

I recommend to use my cqueues layer on top:
https://github.com/daurnimator/cqueues-pgsql
It will give you some nice async properties.

I was going to make a release this week, but ran into this last night:
https://github.com/mbalmer/luapgsql/issues/18
As long as you use luapgsql 1.4.2 it works though.