Module "factory/constructors/index"
Functions
BiotaIndexName
- BiotaIndexName(name: string): string
-
Parameters
Returns string
Cursor
- Cursor(pathArray: string | string[]): Expr
-
Parameters
-
pathArray: string | string[]
Returns Expr
Index
- Index(index: FaunaIndexOptions): FaunaIndexOptions
-
Parameters
Returns FaunaIndexOptions
NGramOnField
- NGramOnField(depth?: number, field: string[]): Expr
-
Parameters
-
Default value depth: number = 10
-
field: string[]
Returns Expr
SearchIndex
- SearchIndex(collection: string, depth?: number, fields: string[][]): Expr
-
Parameters
-
collection: string
-
Default value depth: number = 10
-
fields: string[][]
Returns Expr
ToCursor
- ToCursor(index: FaunaIndexOptions): FaunaIndexOptions
-
Parameters
Returns FaunaIndexOptions
ToReverse
- ToReverse(index: FaunaIndexOptions): FaunaIndexOptions
-
Parameters
Returns FaunaIndexOptions