Метод | Описание | |
---|---|---|
Create ( string collectionName ) : object>>.AResult |
Creates index within specified collection in current database context.
|
|
Delete ( string id ) : object>>.AResult |
Deletes specified index.
|
|
Fields ( ) : |
Determines an array of attribute paths in the collection with hash, fulltext, geo or skiplist indexes.
|
|
GeoJson ( bool value ) : |
Determines if the order within the array is longitude followed by latitude in geo index.
|
|
Get ( string id ) : object>>.AResult |
Retrieves specified index.
|
|
MinLength ( int value ) : |
Determines minimum character length of words for fulltext index. Will default to a server-defined value if unspecified. It is thus recommended to set this value explicitly when creating the index.
|
|
Sparse ( bool value ) : |
Determines if the hash or skiplist index should be sparse.
|
|
Type ( AIndexType value ) : |
Determines type of the index.
|
|
Unique ( bool value ) : |
Determines if the hash or skiplist index should be unique.
|
Метод | Описание | |
---|---|---|
AIndex ( |
public Create ( string collectionName ) : object>>.AResult |
||
collectionName | string | |
Результат | object>>.AResult |
public Delete ( string id ) : object>>.AResult |
||
id | string | |
Результат | object>>.AResult |
public Get ( string id ) : object>>.AResult |
||
id | string | |
Результат | object>>.AResult |