(model, methods)
| 3783 | */ |
| 3784 | |
| 3785 | function applyQueryMethods(model, methods) { |
| 3786 | for (var i in methods) { |
| 3787 | model.Query.prototype[i] = methods[i]; |
| 3788 | } |
| 3789 | } |
| 3790 | |
| 3791 | /*! |
| 3792 | * Subclass this model with `conn`, `schema`, and `collection` settings. |