MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / deleteRecord

Function deleteRecord

frontend/src/axios/chunk.ts:26–30  ·  view source on GitHub ↗
(collectionId: string, id: string)

Source from the content-addressed store, hash-verified

24 return await request.post(`${project_base_url}/collections/${collectionId}/chunks`, params)
25}
26const 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}
31const 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)

Callers 2

onDeleteConfirmFunction · 0.90
onDeleteConfirmFunction · 0.90

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected