MCPcopy
hub / github.com/lfb/nodejs-koa-blog / get

Function get

app/models/user.js:53–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 allowNull: false,
52 comment: '创建时间',
53 get() {
54 return moment(this.getDataValue('created_at')).format('YYYY-MM-DD HH:mm:ss');
55 }
56 }
57}, {
58 sequelize,

Callers 2

getMethod · 0.50
_findParamMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected