Documentation
Preparing search index...
@saltcorn/data
models/role
export=
Class export=
Role class
Implements
AbstractRole
Index
Constructors
constructor
Properties
id
role
Methods
delete
update
create
find
find
One
Constructors
constructor
new
"export="
(
o
:
AbstractRole
)
:
export=
Role constructor
Parameters
o
:
AbstractRole
Returns
export=
Properties
id
id
:
number
role
role
:
string
Methods
delete
delete
()
:
Promise
<
void
>
Returns
Promise
<
void
>
update
update
(
row
:
Partial
<
export=
>
)
:
Promise
<
void
>
Parameters
row
:
Partial
<
export=
>
Returns
Promise
<
void
>
Static
create
create
(
uo
:
AbstractRole
)
:
Promise
<
export=
|
{
error
:
string
}
>
Parameters
uo
:
AbstractRole
Returns
Promise
<
export=
|
{
error
:
string
}
>
Static
find
find
(
where
:
Where
,
selectopts
?:
SelectOptions
)
:
Promise
<
export=
[]
>
Parameters
where
:
Where
Optional
selectopts
:
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
id
role
Methods
delete
update
create
find
find
One
Documentation
Loading...
Role class