UNPKG

sql-toolkit

Version:

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

27 lines (23 loc) 403 B
const Base = require('./base'); class Person extends Base { static get tableName() { return 'person'; } static get sqlColumnsData() { return [ 'id', 'first_name', 'last_name', 'slug', 'email', 'picture', 'cover_photo', 'brand', 'tagline', 'display_name', 'biography', 'title' ]; } } module.exports = Person;