Parameters
uuid.UUID
The id of the collection
[]uuid.UUID
The ids of the data points to delete from the collection
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
numDeleted, err := client.Datapoints.DeleteIDs(ctx,
collectionID,
[]uuid.UUID{
uuid.MustParse("0195c87a-49f6-5ffa-e3cb-92215d057ea6"),
uuid.MustParse("0195c87b-bd0e-3998-05cf-af6538f34957"),
},
)
numDeleted, err := client.Datapoints.DeleteIDs(ctx,
collectionID,
[]uuid.UUID{
uuid.MustParse("0195c87a-49f6-5ffa-e3cb-92215d057ea6"),
uuid.MustParse("0195c87b-bd0e-3998-05cf-af6538f34957"),
},
)
func (datapointClient) DeleteIDs(
ctx context.Context,
collectionID uuid.UUID,
datapointIDs []uuid.UUID,
) (int64, error)
numDeleted, err := client.Datapoints.DeleteIDs(ctx,
collectionID,
[]uuid.UUID{
uuid.MustParse("0195c87a-49f6-5ffa-e3cb-92215d057ea6"),
uuid.MustParse("0195c87b-bd0e-3998-05cf-af6538f34957"),
},
)
Was this page helpful?