$ luarocks install jadeJade 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
Dependencies
lua >= 5.1, < 5.5