A modern ORM for Lua

$ luarocks install jade

Jade is a modern ORM/Data Mapper for Lua, inspired by Prisma.

Features:
- Declarative schema with Lua syntax
- Automatic migrations
- Chainable query builder
- Entity relationships (ForeignKey, hasMany, hasOne, belongsTo)
- Pagination
- Transactions with auto-commit/rollback
- Soft delete
- Multi-database support (PostgreSQL, MySQL, SQLite)
- Internationalization (English, Portuguese)

Compatible with Lua 5.1, 5.2, 5.3, 5.4, and LuaJIT.

Works great with Lapis, Penlight, and other Lua frameworks.

github.com/AlehandroSV/Jade

Versions

scm-1dev11 hours ago0 downloads
0.1.8-16 hours ago0 downloads
0.1.6-16 hours ago0 downloads
0.1.5-16 hours ago0 downloads
0.1.4-18 hours ago0 downloads
0.1.0-18 hours ago0 downloads

Dependencies

lua >= 5.1, < 5.5

Labels

Manifests