waterline
Version:
An ORM for Node.js and the Sails framework
48 lines (46 loc) • 3.29 kB
JavaScript
// ██████╗ ███████╗███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
// ██╔══██╗██╔════╝██╔════╝██╔════╝██╔══██╗██║ ██║██╔════╝██╔══██╗
// ██████╔╝█████╗ ███████╗█████╗ ██████╔╝██║ ██║█████╗ ██║ ██║
// ██╔══██╗██╔══╝ ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██╔══╝ ██║ ██║
// ██║ ██║███████╗███████║███████╗██║ ██║ ╚████╔╝ ███████╗██████╔╝
// ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═════╝
//
// ██████╗ ██████╗ ██████╗ ██████╗ ███████╗██████╗ ████████╗██╗ ██╗
// ██╔══██╗██╔══██╗██╔═══██╗██╔══██╗██╔════╝██╔══██╗╚══██╔══╝╚██╗ ██╔╝
// ██████╔╝██████╔╝██║ ██║██████╔╝█████╗ ██████╔╝ ██║ ╚████╔╝
// ██╔═══╝ ██╔══██╗██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗ ██║ ╚██╔╝
// ██║ ██║ ██║╚██████╔╝██║ ███████╗██║ ██║ ██║ ██║
// ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝
//
// ███╗ ██╗ █████╗ ███╗ ███╗███████╗███████╗
// ████╗ ██║██╔══██╗████╗ ████║██╔════╝██╔════╝
// ██╔██╗ ██║███████║██╔████╔██║█████╗ ███████╗
// ██║╚██╗██║██╔══██║██║╚██╔╝██║██╔══╝ ╚════██║
// ██║ ╚████║██║ ██║██║ ╚═╝ ██║███████╗███████║
// ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚══════╝
//
module.exports = [
'defaultsTo',
'primaryKey',
'autoIncrement',
'unique',
'index',
'collection',
'dominant',
'through',
'columnName',
'foreignKey',
'references',
'on',
'groupKey',
'model',
'via',
'size',
'example',
'validationMessage',
'validations',
'populateSettings',
'onKey',
'protected',
'meta'
];