UNPKG

persistanz

Version:

Object relational mapping (ORM) library with unique features.

19 lines (14 loc) 296 B
"use strict"; const Persistanz = require("../lib/Persistanz"); const options = { adapter: "mysql2", host: "127.0.0.1", database: "", user: "root", password: "", }; (async function () { const pers = new Persistanz(options); await pers.create(); await pers.destroy(); })();