Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method Client.prototype.deleteByQuery
import { Client } from "https://deno.land/x/deno_es@v0.4.3/mod.ts";

Deletes documents that match the specified query.

Examples

{ "query": { "match": { "user.id": "elkbee" } } }

Parameters

params: DeleteByQueryParams

Returns

Promise<DeleteByQueryInfo>