MCPcopy Index your code
hub / github.com/YMFE/yapi / getGroupById

Method getGroupById

server/models/group.js:79–86  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

77 }
78
79 getGroupById(id) {
80 return this.model
81 .findOne({
82 _id: id
83 })
84 .select('uid group_name group_desc add_time up_time type custom_field1')
85 .exec();
86 }
87
88 checkRepeat(name) {
89 return this.model.countDocuments({

Callers 1

getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected