Function
pluginQueryHelpers
(schema: Schema<Test, any, any, TestQueryHelpers>)
Source from the content-addressed store, hash-verified
| 10 | } |
| 11 | |
| 12 | function pluginQueryHelpers(schema: Schema<Test, any, any, TestQueryHelpers>): void { |
| 13 | schema.query.whereSomething = function() { |
| 14 | return this.where({ name: 'something' }); |
| 15 | }; |
| 16 | } |
| 17 | |
| 18 | function pluginMethods(schema: Schema<Test, any, TestInstanceMethods>): void { |
| 19 | schema.methods.doSomething = function() { |
Callers
nothing calls this directly
Tested by
no test coverage detected