Documentation
Preparing search index...
@saltcorn/data
models/crash
export=
Class export=
Crash Class
Index
Constructors
constructor
Properties
body?
headers
id?
message
occur_
at
stack
tenant
url
user_
id?
Accessors
msg_
short
reltime
Methods
count
create
find
find
One
Constructors
constructor
new
"export="
(
o
:
CrashCfg
)
:
export=
Crash constructor
Parameters
o
:
CrashCfg
Returns
export=
Properties
Optional
body
body
?:
any
headers
headers
:
any
Optional
id
id
?:
number
message
message
:
string
occur_
at
occur_at
:
Date
stack
stack
:
string
tenant
tenant
:
string
url
url
:
string
Optional
user_
id
user_id
?:
number
Accessors
msg_
short
get
msg_short
()
:
string
Returns
string
reltime
get
reltime
()
:
string
Returns
string
Methods
Static
count
count
(
where
:
Where
)
:
Promise
<
number
>
Parameters
where
:
Where
Returns
Promise
<
number
>
Static
create
create
(
err
:
any
,
req
?:
any
)
:
Promise
<
void
>
Parameters
err
:
any
Optional
req
:
any
= {}
Returns
Promise
<
void
>
Static
find
find
(
where
?:
Where
,
selopts
?:
SelectOptions
)
:
Promise
<
export=
[]
>
Parameters
Optional
where
:
Where
selopts
:
SelectOptions
= {}
Returns
Promise
<
export=
[]
>
Static
find
One
findOne
(
where
:
Where
)
:
Promise
<
export=
>
Parameters
where
:
Where
Returns
Promise
<
export=
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
body
headers
id
message
occur_
at
stack
tenant
url
user_
id
Accessors
msg_
short
reltime
Methods
count
create
find
find
One
Documentation
Loading...
Crash Class