Skip to content

TeamMeadows/orm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meadows ORM is an ORM system for Garry's Mod based on the Atomic Framework, which allows you to easily integrate it into your Atomic projects.

Features

  • Declarative style - you do not need to write SQL code
  • Automatic values escaping - you do not need to be care of SQL injections
  • Relations support
  • Joins support - you can write complex queries
  • Based on coroutines (async)
  • Easy to embed in your project
  • Prisma-like interface to interact with your database

Example

local users = users:findMany({
  where = {
    group = "superadmin"
  }
})

assert(#users == 4)

See the detailed example in the example.lua file

About

🌿 ORM for Garry's Mod to be used with Atomic Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages