Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
Knex
A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
import BaseModel from "../BaseMode"; export class User extends BaseModel { // Name of table that this model maps back to // Table name is the only required property. public static tableName = 'ENTER_TABLE_NAME'; // Example property public foo!: string; // Add other table fields (columns) as properties to access them via the model // Define the relations to other models. // READ MORE at https://vincit.github.io/objection.js/guide/relations.html public static relationMappings = () => ({ // specify relation with other modules }) }
OCLIF - an open source framework for building command line interfaces (CLI) in Node.js.
Tode-CLI comes with an elegant ORM, objection.js, built on top of the famous query builder, knex.js. This makes interacting with databases a breeze when working with projects created by tode-cli.