Compatibilité
- Frameworks
- Non spécifié
- Version
- 1.0
- Mode de jeu
- FiveM

by punkasss
![]()
Schema-as-code for FiveM + oxmysql
Tired of managing raw SQL strings and losing track of your database types? Sleet brings the “Schema-as-code” philosophy (inspired by Drizzle ORM) directly into your FiveM Lua environment.
Define your tables once in Lua, and enjoy a type-safe, fluent query builder that makes database interactions elegant and error-free.
---@type annotations. With our CLI, LuaLS automatically understands your record shapes..select(), .insert(), .update(), and .delete() methods.CREATE TABLE SQL and EmmyLua types.oxmysql).Define your schema:
local players = sl.table('players', {
id = sl.serial().primaryKey(),
identifier = sl.varchar(64).notNull().unique(),
money = sl.int().default(500),
is_admin = sl.boolean().default(false),
})
Query with ease:
local db = Sleet.connect()
local s = require 'server.schema'
local rows = db.select()
.from(s.players)
.where(sl.eq(s.players.id, 1))
.execute()
-- 'rows[1]' is automatically inferred as PlayersRecord!
Check out the full documentation and setup guide on GitHub:
GitHub: Sleet-ORM
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | 757+ |
| Requirements | oxmysql |
| Support | Issue |
Free download (ad supported)
Free downloads are supported by a brief ad page (Linkvertise) to keep this service running.
Written by the VertexMods editorial team based on the current CitizenFX artifact and the target framework — not copy-pasted from the upstream post.
resources/[standalone]/sleet-elegant-orm-for-fivem-inspired-by-drizzle on your server. Keep the resource folder name as-is — most manifests reference it verbatim.ensure sleet-elegant-orm-for-fivem-inspired-by-drizzle to your server.cfg.ensure sleet-elegant-orm-for-fivem-inspired-by-drizzle in the live console to confirm it loads without red errors. If you hit a dependency error, the mod probably needs ox_lib or ox_inventory — install those first, then retry.Tirez le meilleur des mods gratuits
Créez un compte gratuit pour les notifications de mises à jour, votre collection de mods et les téléchargements sans publicité.
Premium Alternative
Get premium scripts with dedicated support, lifetime updates, and one-click installation.
D'autres mods gratuits populaires qui pourraient ĂŞtre utiles pour votre serveur.
Réponses rapides basées sur les informations publiées pour Sleet — Elegant ORM for FiveM (Inspired by Drizzle).
Découvrez plus de ressources pour votre serveur FiveM ou GTA 5.
Free mods are a good starting point. When your server needs stronger support, cleaner installs, and premium systems, move into the commercial hubs below.
Vous avez une autre question ? Consultez la description du mod ci-dessus pour plus de détails.