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

Method getcustomFieldValue

server/models/interface.js:313–323  ·  view source on GitHub ↗
(id, value)

Source from the content-addressed store, hash-verified

311 );
312 }
313 getcustomFieldValue(id, value) {
314 return this.model
315 .find({
316 project_id: id,
317 custom_field_value: value
318 })
319 .select(
320 'title uid path method edit_uid status desc add_time up_time type query_path req_query req_headers req_params req_body_type req_body_form req_body_other res_body_type custom_field_value'
321 )
322 .exec();
323 }
324
325 listCount(option) {
326 return this.model.countDocuments(option);

Callers 1

getCustomFieldMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected