@wearesage/schema
Preparing search index...
MongoIndex
Function MongoIndex
MongoIndex
(
keys
:
Record
<
string
,
1
|
-1
|
"2dsphere"
|
"text"
>
,
options
?:
any
,
)
:
(
target
:
any
,
propertyKey
?:
string
)
=>
void
MongoDB-specific index decorator
Parameters
keys
:
Record
<
string
,
1
|
-1
|
"2dsphere"
|
"text"
>
options
:
any
= {}
Returns
(
target
:
any
,
propertyKey
?:
string
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@wearesage/schema
Loading...
MongoDB-specific index decorator