Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak_nest/modules/elasticsearch/mod.ts>Client#deleteByQuery

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
method Client.prototype.deleteByQuery
Re-export
import { Client } from "https://deno.land/x/oak_nest@v3.0.1/modules/elasticsearch/mod.ts";

Deletes documents that match the specified query.

Examples

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

Parameters

params: DeleteByQueryParams

Returns

Promise<DeleteByQueryInfo>