leafo / pgmoon

A pure Lua Postgres driver for use in OpenResty & more
MIT License
394 stars 93 forks source link

doc: fix the return values in example #144

Closed chronolaw closed 1 year ago

chronolaw commented 1 year ago

When I read the code (https://github.com/leafo/pgmoon/blob/master/pgmoon/init.lua#L706-L709), I found the examples in readme have some mistakes.

If the query execute successfully, the return values should not have err.

chronolaw commented 1 year ago

Close because no activity on this PR.