MCPcopy
hub / github.com/YMFE/yapi / checkNameRepeat

Method checkNameRepeat

server/models/project.js:160–165  ·  view source on GitHub ↗
(name, groupid)

Source from the content-addressed store, hash-verified

158 }
159
160 checkNameRepeat(name, groupid) {
161 return this.model.countDocuments({
162 name: name,
163 group_id: groupid
164 });
165 }
166
167 checkDomainRepeat(domain, basepath) {
168 return this.model.countDocuments({

Callers 3

checkProjectNameMethod · 0.80
addMethod · 0.80
upMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected