How can I delete my records?
There are two ways to delete your records:
For deleting a specific record, you need to know its
objectID
and pass it to theindex.deleteObject(objectID)
method.For deleting several records, you'll have to use the
index.deleteByQuery
method that will accept the exact same arguments as a normal search query, and will delete every record that match this query.
PreviousCan I update only some elements of an array-based attribute?NextHow do I create unidirectional/asymmetric synonyms?
Last updated
Was this helpful?