mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
20 lines
303 B
JavaScript
20 lines
303 B
JavaScript
/**
|
|
* 高级模型
|
|
* @return {[type]} [description]
|
|
*/
|
|
modle.exports = Model(function(){
|
|
return {
|
|
/**
|
|
* 关联定义
|
|
* @type {Object}
|
|
*/
|
|
relation: {},
|
|
/**
|
|
* 返回数据里含有count信息的查询
|
|
* @return {[type]} [description]
|
|
*/
|
|
countSelect: function(){
|
|
|
|
}
|
|
}
|
|
}) |