UNPKG

devlien

Version:

Devlien is a lightweight, zero-dependency Node.js framework with clean MVC structure, built-in ORM, and intuitive routing for rapid backend development.

13 lines (10 loc) 286 B
import Mysql from "./Mysql.js" import Model from "devlien/model"; export default class DB { static async query(queries){ return await Mysql.query(queries); } static table(table){ return class DB extends Model { constructor(){super({table:table})}} } }