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

x/oak_nest/modules/elasticsearch/deps.ts>Client#index

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

insert a document or replace it if it already exists

Parameters

params: IndexParams
optional
options: ExOptions

Returns

Promise<IndexInfo>