Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loicmahieu/sequelize-utils
Set of utilities for Sequelize
https://github.com/loicmahieu/sequelize-utils
Last synced: 27 days ago
JSON representation
Set of utilities for Sequelize
- Host: GitHub
- URL: https://github.com/loicmahieu/sequelize-utils
- Owner: LoicMahieu
- Created: 2014-06-24T15:51:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-20T14:34:14.000Z (over 6 years ago)
- Last Synced: 2024-11-20T15:29:42.352Z (about 1 month ago)
- Language: CoffeeScript
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
sequelize-utils
===============```
npm install --save sequelize-utils
```# Properties
## JSON
### Options
`indent`: Causes the resulting string to be pretty-printed. Default: 2
```
Model = sequelize.define('utils_property_list', {
prop: utils.property.json('prop')
});
```## List
### Options
`separator`: Delimiter. Default: ','
```
Model = sequelize.define('utils_property_list', {
prop: utils.property.list('prop')
});
```