(collectionId: string, id: string)
| 24 | return await request.post(`${project_base_url}/collections/${collectionId}/chunks`, params) |
| 25 | } |
| 26 | const deleteRecord = async (collectionId: string, id: string) => { |
| 27 | const project_base_url = `api/v1` |
| 28 | return await request.delete(`${project_base_url}/collections/${collectionId}/chunks/${id}`) |
| 29 | |
| 30 | } |
| 31 | const updateRecord = async (collectionId: string, id: string, params: object) => { |
| 32 | const project_base_url = `api/v1` |
| 33 | return await request.post(`${project_base_url}/collections/${collectionId}/chunks/${id}`, params) |
no test coverage detected