$ luarocks install sqltable
SqlTable makes database tables look as close as possible to
ordinary Lua tables. SELECT, INSERT, UPDATE, and DELETE are all
handled with metamethods in such a way that no SQL needs to be
written in most cases. SqlTable also provides some other
features such as connection pooling and easy ad-hoc query error
handling.
Versions
Dependencies
lua >= 5.3, < 5.5