Type aliases
EnsureIndexFulltextOptions
EnsureIndexFulltextOptions: { fields: [string]; minLength?: undefined | number; name?: undefined | string; type: "fulltext" }
Type declaration
-
fields: [string]
-
Optional minLength?: undefined | number
-
Optional name?: undefined | string
-
type: "fulltext"
EnsureIndexGeoOptions
EnsureIndexGeoOptions: { fields: [string] | [string, string]; geoJson?: undefined | false | true; name?: undefined | string; type: "geo" }
Type declaration
-
fields: [string] | [string, string]
-
Optional geoJson?: undefined | false | true
-
Optional name?: undefined | string
-
type: "geo"
EnsureIndexHashOptions
EnsureIndexHashOptions: { deduplicate?: undefined | false | true; fields: string[]; name?: undefined | string; sparse?: undefined | false | true; type: "hash"; unique?: undefined | false | true }
Type declaration
-
Optional deduplicate?: undefined | false | true
-
fields: string[]
-
Optional name?: undefined | string
-
Optional sparse?: undefined | false | true
-
type: "hash"
-
Optional unique?: undefined | false | true
EnsureIndexPersistentOptions
EnsureIndexPersistentOptions: { fields: string[]; name?: undefined | string; sparse?: undefined | false | true; type: "persistent"; unique?: undefined | false | true }
Type declaration
-
fields: string[]
-
Optional name?: undefined | string
-
Optional sparse?: undefined | false | true
-
type: "persistent"
-
Optional unique?: undefined | false | true
EnsureIndexSkiplistOptions
EnsureIndexSkiplistOptions: { deduplicate?: undefined | false | true; fields: string[]; name?: undefined | string; sparse?: undefined | false | true; type: "skiplist"; unique?: undefined | false | true }
Type declaration
-
Optional deduplicate?: undefined | false | true
-
fields: string[]
-
Optional name?: undefined | string
-
Optional sparse?: undefined | false | true
-
type: "skiplist"
-
Optional unique?: undefined | false | true
EnsureIndexTtlOptions
EnsureIndexTtlOptions: { expireAfter: number; fields: [string]; name?: undefined | string; type: "ttl" }
Type declaration
-
expireAfter: number
-
fields: [string]
-
Optional name?: undefined | string
-
type: "ttl"
FulltextIndex
Fulltext
Index: GenericIndex & { fields: [string]; minLength: number; type: "fulltext" }
GenericIndex
GenericIndex: { id: string; name?: undefined | string; sparse: boolean; unique: boolean }
Type declaration
-
id: string
-
Optional name?: undefined | string
-
sparse: boolean
-
unique: boolean
GeoIndex
Geo
Index: GenericIndex & { bestIndexedLevel: number; fields: [string] | [string, string]; geoJson: boolean; maxNumCoverCells: number; type: "geo"; worstIndexedLevel: number }
HashIndex
Hash
Index: GenericIndex & { fields: string[]; selectivityEstimate: number; type: "hash" }
IndexSelector
Index
Selector: string | Index
PersistentIndex
Persistent
Index: GenericIndex & { fields: string[]; type: "persistent" }
PrimaryIndex
Primary
Index: GenericIndex & { fields: string[]; selectivityEstimate: number; type: "primary" }
SkiplistIndex
Skiplist
Index: GenericIndex & { fields: string[]; type: "skiplist" }
TtlIndex
Ttl
Index: GenericIndex & { expireAfter: number; fields: [string]; selectivityEstimate: number; type: "ttl" }
import type { Index } from "arangojs/indexes";
TODO