(config, auth, className, restWhere, restOptions, clientSDK, context)
| 136 | |
| 137 | // Returns a promise for an object with optional keys 'results' and 'count'. |
| 138 | const find = async (config, auth, className, restWhere, restOptions, clientSDK, context) => { |
| 139 | enforceRoleSecurity('find', className, auth, config); |
| 140 | return runFindTriggers( |
| 141 | config, |
| 142 | auth, |
| 143 | className, |
| 144 | restWhere, |
| 145 | restOptions, |
| 146 | clientSDK, |
| 147 | context, |
| 148 | { isGet: false } |
| 149 | ); |
| 150 | }; |
| 151 | |
| 152 | // get is just like find but only queries an objectId. |
| 153 | const get = async (config, auth, className, objectId, restOptions, clientSDK, context) => { |
nothing calls this directly
no test coverage detected