Overview
lua-CoatPersistent is an Object-Relational Mapping for
lua-Coat.
It is built over the modules LuaSQL
and Dado.
It could support all database engine which has a driver in LuaSQL.
Another variant is built over the module lsqlite3 instead of LuaSQL.
Lineage
lua-CoatPersistent is a Lua port of Coat::Persistent, a Perl module, which is inspired by Ruby on Rails Active Record.
Status
lua-CoatPersistent is in early stage.
It was developed for Lua 5.1, 5.2 & 5.3.
Documentation
After these HTML files, there are many unit tests in test/.
And finally, there are the code in src/ where you could check the availability of a feature.
Download
lua-CoatPersistent source can be downloaded from GitHub.
Installation
Two variants are available, LuaSQL or lsqlite3 based
lua-CoatPersistent is available via LuaRocks:
luarocks install lua-coatpersistent-luasql # luarocks install lua-coatpersistent-lsqlite3
or manually, with:
make install.luasql # make install.lsqlite3
Test
The test suite requires the module lua-TestMore and LuaSQL-SQLite3.
make test.luasql # make test.lsqlite3
Copyright and License
Copyright © 2010-2014 François Perrad
This library is licensed under the terms of the MIT/X11 license, like Lua itself.