hipthrusts - v1.2.0
Preparing search index...
mongoose
FindScoped
Function FindScoped
FindScoped
<
TKey
extends
string
=
"scopedDocs"
>
(
Model
:
ModelWithFind
,
extraFilter
?:
object
,
docsKeyOrOptions
?:
TKey
|
FindScopedOptions
<
TKey
>
,
)
:
{
execute
:
(
htCtx
:
TContextIn
)
=>
Record
<
TKey
,
any
[]
>
[
TKey
]
;
loadResources
:
(
htCtx
:
HasQueryScope
)
=>
Promise
;
}
Type Parameters
TKey
extends
string
=
"scopedDocs"
Parameters
Model
:
ModelWithFind
Optional
extraFilter
:
object
Optional
docsKeyOrOptions
:
TKey
|
FindScopedOptions
<
TKey
>
Returns
{
execute
:
(
htCtx
:
TContextIn
)
=>
Record
<
TKey
,
any
[]
>
[
TKey
]
;
loadResources
:
(
htCtx
:
HasQueryScope
)
=>
Promise
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
hipthrusts - v1.2.0
Loading...