File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -1612,33 +1612,6 @@ export interface DocumentCollection<
16121612 indexes . MdiIndexDescription & { isNewlyCreated : boolean }
16131613 >
16141614 > ;
1615- /**
1616- * Creates a prefixed multi-dimensional index on the collection if it does
1617- * not already exist.
1618- *
1619- * @param options - Options for creating the prefixed multi-dimensional index.
1620- *
1621- * @example
1622- * ```js
1623- * const db = new Database();
1624- * const collection = db.collection("some-points");
1625- * // Create a multi-dimensional index for the attributes x, y and z
1626- * await collection.ensureIndex({
1627- * type: "mdi-prefixed",
1628- * fields: ["x", "y", "z"],
1629- * prefixFields: ["x"],
1630- * fieldValueTypes: "double"
1631- * });
1632- * ```
1633- * ```
1634- */
1635- ensureIndex (
1636- options : indexes . EnsureMdiPrefixedIndexOptions
1637- ) : Promise <
1638- connection . ArangoApiResponse <
1639- indexes . MdiPrefixedIndexDescription & { isNewlyCreated : boolean }
1640- >
1641- > ;
16421615 /**
16431616 * Creates a prefixed multi-dimensional index on the collection if it does not already exist.
16441617 *
You can’t perform that action at this time.
0 commit comments