(project_id, path, method)
| 132 | } |
| 133 | |
| 134 | getByQueryPath(project_id, path, method) { |
| 135 | return this.model |
| 136 | .find({ |
| 137 | project_id: project_id, |
| 138 | 'query_path.path': path, |
| 139 | method: method |
| 140 | }) |
| 141 | .exec(); |
| 142 | } |
| 143 | |
| 144 | getByPath(project_id, path, method, select) { |
| 145 | select = |