@@ -1529,6 +1529,11 @@ export interface DocumentCollection<T extends object = any>
15291529 * Retrieves the `shardId` of the shard responsible for the given document.
15301530 *
15311531 * @param document - Document in the collection to look up the `shardId` of.
1532+ *
1533+ * @example
1534+ * ```js
1535+ * TODO
1536+ * ```
15321537 */
15331538 getResponsibleShard ( document : Partial < Document < T > > ) : Promise < string > ;
15341539 /**
@@ -2001,6 +2006,11 @@ export interface DocumentCollection<T extends object = any>
20012006 *
20022007 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
20032008 * replaced with AQL queries.
2009+ *
2010+ * @example
2011+ * ```js
2012+ * TODO
2013+ * ```
20042014 */
20052015 list ( type ?: SimpleQueryListType ) : Promise < ArrayCursor < string > > ;
20062016
@@ -2011,6 +2021,11 @@ export interface DocumentCollection<T extends object = any>
20112021 *
20122022 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
20132023 * replaced with AQL queries.
2024+ *
2025+ * @example
2026+ * ```js
2027+ * TODO
2028+ * ```
20142029 */
20152030 all ( options ?: SimpleQueryAllOptions ) : Promise < ArrayCursor < Document < T > > > ;
20162031
@@ -2019,6 +2034,11 @@ export interface DocumentCollection<T extends object = any>
20192034 *
20202035 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
20212036 * replaced with AQL queries.
2037+ *
2038+ * @example
2039+ * ```js
2040+ * TODO
2041+ * ```
20222042 */
20232043 any ( ) : Promise < Document < T > > ;
20242044
@@ -2030,6 +2050,11 @@ export interface DocumentCollection<T extends object = any>
20302050 *
20312051 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
20322052 * replaced with AQL queries.
2053+ *
2054+ * @example
2055+ * ```js
2056+ * TODO
2057+ * ```
20332058 */
20342059 byExample (
20352060 example : Partial < DocumentData < T > > ,
@@ -2043,6 +2068,11 @@ export interface DocumentCollection<T extends object = any>
20432068 *
20442069 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
20452070 * replaced with AQL queries.
2071+ *
2072+ * @example
2073+ * ```js
2074+ * TODO
2075+ * ```
20462076 */
20472077 firstExample ( example : Partial < DocumentData < T > > ) : Promise < Document < T > > ;
20482078
@@ -2054,6 +2084,11 @@ export interface DocumentCollection<T extends object = any>
20542084 *
20552085 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
20562086 * replaced with AQL queries.
2087+ *
2088+ * @example
2089+ * ```js
2090+ * TODO
2091+ * ```
20572092 */
20582093 removeByExample (
20592094 example : Partial < DocumentData < T > > ,
@@ -2069,6 +2104,11 @@ export interface DocumentCollection<T extends object = any>
20692104 *
20702105 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
20712106 * replaced with AQL queries.
2107+ *
2108+ * @example
2109+ * ```js
2110+ * TODO
2111+ * ```
20722112 */
20732113 replaceByExample (
20742114 example : Partial < DocumentData < T > > ,
@@ -2085,6 +2125,11 @@ export interface DocumentCollection<T extends object = any>
20852125 *
20862126 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
20872127 * replaced with AQL queries.
2128+ *
2129+ * @example
2130+ * ```js
2131+ * TODO
2132+ * ```
20882133 */
20892134 updateByExample (
20902135 example : Partial < DocumentData < T > > ,
@@ -2099,6 +2144,11 @@ export interface DocumentCollection<T extends object = any>
20992144 *
21002145 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
21012146 * replaced with AQL queries.
2147+ *
2148+ * @example
2149+ * ```js
2150+ * TODO
2151+ * ```
21022152 */
21032153 lookupByKeys ( keys : string [ ] ) : Promise < Document < T > [ ] > ;
21042154
@@ -2110,6 +2160,11 @@ export interface DocumentCollection<T extends object = any>
21102160 *
21112161 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
21122162 * replaced with AQL queries.
2163+ *
2164+ * @example
2165+ * ```js
2166+ * TODO
2167+ * ```
21132168 */
21142169 removeByKeys (
21152170 keys : string [ ] ,
@@ -2125,6 +2180,11 @@ export interface DocumentCollection<T extends object = any>
21252180 *
21262181 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
21272182 * replaced with AQL queries.
2183+ *
2184+ * @example
2185+ * ```js
2186+ * TODO
2187+ * ```
21282188 */
21292189 fulltext (
21302190 attribute : string ,
@@ -2136,12 +2196,22 @@ export interface DocumentCollection<T extends object = any>
21362196 //#region indexes
21372197 /**
21382198 * Returns a list of all index descriptions for the collection.
2199+ *
2200+ * @example
2201+ * ```js
2202+ * TODO
2203+ * ```
21392204 */
21402205 indexes ( ) : Promise < Index [ ] > ;
21412206 /**
21422207 * Returns an index description by name or `id` if it exists.
21432208 *
21442209 * @param selector - Index name, id or object with either property.
2210+ *
2211+ * @example
2212+ * ```js
2213+ * TODO
2214+ * ```
21452215 */
21462216 index ( selector : IndexSelector ) : Promise < Index > ;
21472217 /**
@@ -2279,6 +2349,11 @@ export interface DocumentCollection<T extends object = any>
22792349 * Deletes the index with the given name or `id` from the database.
22802350 *
22812351 * @param selector - Index name, id or object with either property.
2352+ *
2353+ * @example
2354+ * ```js
2355+ * TODO
2356+ * ```
22822357 */
22832358 dropIndex (
22842359 selector : IndexSelector
@@ -2750,6 +2825,11 @@ export interface EdgeCollection<T extends object = any>
27502825 *
27512826 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
27522827 * replaced with AQL queries.
2828+ *
2829+ * @example
2830+ * ```js
2831+ * TODO
2832+ * ```
27532833 */
27542834 all ( options ?: SimpleQueryAllOptions ) : Promise < ArrayCursor < Edge < T > > > ;
27552835
@@ -2758,6 +2838,11 @@ export interface EdgeCollection<T extends object = any>
27582838 *
27592839 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
27602840 * replaced with AQL queries.
2841+ *
2842+ * @example
2843+ * ```js
2844+ * TODO
2845+ * ```
27612846 */
27622847 any ( ) : Promise < Edge < T > > ;
27632848
@@ -2769,6 +2854,11 @@ export interface EdgeCollection<T extends object = any>
27692854 *
27702855 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
27712856 * replaced with AQL queries.
2857+ *
2858+ * @example
2859+ * ```js
2860+ * TODO
2861+ * ```
27722862 */
27732863 byExample (
27742864 example : Partial < DocumentData < T > > ,
@@ -2782,6 +2872,11 @@ export interface EdgeCollection<T extends object = any>
27822872 *
27832873 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
27842874 * replaced with AQL queries.
2875+ *
2876+ * @example
2877+ * ```js
2878+ * TODO
2879+ * ```
27852880 */
27862881 firstExample ( example : Partial < DocumentData < T > > ) : Promise < Edge < T > > ;
27872882
@@ -2792,6 +2887,11 @@ export interface EdgeCollection<T extends object = any>
27922887 *
27932888 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
27942889 * replaced with AQL queries.
2890+ *
2891+ * @example
2892+ * ```js
2893+ * TODO
2894+ * ```
27952895 */
27962896 lookupByKeys ( keys : string [ ] ) : Promise < Edge < T > [ ] > ;
27972897
@@ -2804,6 +2904,11 @@ export interface EdgeCollection<T extends object = any>
28042904 *
28052905 * @deprecated Simple Queries have been deprecated in ArangoDB 3.4 and can be
28062906 * replaced with AQL queries.
2907+ *
2908+ * @example
2909+ * ```js
2910+ * TODO
2911+ * ```
28072912 */
28082913 fulltext (
28092914 attribute : string ,
@@ -2862,6 +2967,7 @@ export interface EdgeCollection<T extends object = any>
28622967 * ]);
28632968 * const edges = await collection.inEdges("vertices/a");
28642969 * console.log(edges.map((edge) => edge._key)); // ["z"]
2970+ * ```
28652971 */
28662972 inEdges (
28672973 selector : DocumentSelector
0 commit comments