UNPKG

sql-toolkit

Version:

A SQL Toolkit based on pure business objects passed to and from stateful data access objects

14 lines (10 loc) 204 B
const Base = require('./base'); class Tag extends Base { static get tableName() { return 'tag'; } static get sqlColumnsData() { return ['id', 'name', 'slug']; } } module.exports = Tag;