Preparing search index...
The search index is not available
Trova Core - v3.43.0
Trova Core
@trova-trip/trova-services
services
SessionsService
Interface SessionsService
interface
SessionsService
{
countDocuments
(
query
?:
FilterQuery
<
Sessions
>
)
:
Promise
<
number
>
;
create
(
entity
:
Sessions
)
:
Promise
<
Sessions
>
;
destroySessionById
(
id
:
string
)
:
Promise
<
null
|
Sessions
>
;
findById
(
id
:
string
,
listQueryOptions
?:
ListQueryOptions
<
Sessions
>
,
)
:
Promise
<
null
|
Sessions
>
;
list
(
query
:
FilterQuery
<
Sessions
>
,
listQueryOptions
?:
ListQueryOptions
<
Sessions
>
,
)
:
Promise
<
Sessions
[]
>
;
updateById
(
id
:
string
,
entity
:
Partial
<
Sessions
>
)
:
Promise
<
null
|
Sessions
>
;
}
Index
Methods
count
Documents
create
destroy
Session
By
Id
find
By
Id
list
update
By
Id
Methods
count
Documents
countDocuments
(
query
?:
FilterQuery
<
Sessions
>
)
:
Promise
<
number
>
Parameters
Optional
query
:
FilterQuery
<
Sessions
>
Returns
Promise
<
number
>
create
create
(
entity
:
Sessions
)
:
Promise
<
Sessions
>
Parameters
entity
:
Sessions
Returns
Promise
<
Sessions
>
destroy
Session
By
Id
destroySessionById
(
id
:
string
)
:
Promise
<
null
|
Sessions
>
Parameters
id
:
string
Returns
Promise
<
null
|
Sessions
>
find
By
Id
findById
(
id
:
string
,
listQueryOptions
?:
ListQueryOptions
<
Sessions
>
,
)
:
Promise
<
null
|
Sessions
>
Parameters
id
:
string
Optional
listQueryOptions
:
ListQueryOptions
<
Sessions
>
Returns
Promise
<
null
|
Sessions
>
list
list
(
query
:
FilterQuery
<
Sessions
>
,
listQueryOptions
?:
ListQueryOptions
<
Sessions
>
,
)
:
Promise
<
Sessions
[]
>
Parameters
query
:
FilterQuery
<
Sessions
>
Optional
listQueryOptions
:
ListQueryOptions
<
Sessions
>
Returns
Promise
<
Sessions
[]
>
update
By
Id
updateById
(
id
:
string
,
entity
:
Partial
<
Sessions
>
)
:
Promise
<
null
|
Sessions
>
Parameters
id
:
string
entity
:
Partial
<
Sessions
>
Returns
Promise
<
null
|
Sessions
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
count
Documents
create
destroy
Session
By
Id
find
By
Id
list
update
By
Id
Trova Core - v3.43.0
Loading...