(config, auth, className, objectId, restOptions, clientSDK, context)
| 151 | |
| 152 | // get is just like find but only queries an objectId. |
| 153 | const get = async (config, auth, className, objectId, restOptions, clientSDK, context) => { |
| 154 | enforceRoleSecurity('get', className, auth, config); |
| 155 | return runFindTriggers( |
| 156 | config, |
| 157 | auth, |
| 158 | className, |
| 159 | { objectId }, |
| 160 | restOptions, |
| 161 | clientSDK, |
| 162 | context, |
| 163 | { isGet: true } |
| 164 | ); |
| 165 | }; |
| 166 | |
| 167 | // Returns a promise that doesn't resolve to any useful value. |
| 168 | function del(config, auth, className, objectId, context) { |
nothing calls this directly
no test coverage detected