Preparing search index...
The search index is not available
saltcorn-monorepo
saltcorn-monorepo
@saltcorn/data
models
Role
Class Role
Role class
Hierarchy
Role
Implements
AbstractRole
Index
Constructors
constructor
Properties
id
role
Methods
delete
update
create
find
find
One
Constructors
constructor
new
Role
(
o
)
:
Role
Role constructor
Parameters
o
:
RoleCfg
Returns
Role
Properties
id
id
:
number
role
role
:
string
Methods
delete
delete
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
update
update
(
row
)
:
Promise
<
void
>
Parameters
row
:
Row
Returns
Promise
<
void
>
Static
create
create
(
uo
)
:
Promise
<
Role
|
{
error
:
string
;
}
>
Parameters
uo
:
RoleCfg
Returns
Promise
<
Role
|
{
error
:
string
;
}
>
Static
find
find
(
where
,
selectopts
?
)
:
Promise
<
Role
[]
>
Parameters
where
:
Where
Optional
selectopts
:
SelectOptions
Returns
Promise
<
Role
[]
>
Static
find
One
find
One
(
where
)
:
Promise
<
Role
>
Parameters
where
:
Where
Returns
Promise
<
Role
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
id
role
delete
update
create
find
find
One
saltcorn-
monorepo
@saltcorn/admin-
models
@saltcorn/common-
code
@saltcorn/data
models
Crash
Event
Log
Field
Repeat
File
Form
Page
Group
Table
Table
Constraint
User
View
Workflow
config
discovery
email
expression
layout
random
scheduler
Crash
Event
Log
Field
Field
Repeat
File
Form
Library
Page
Page
Group
Plugin
Role
Table
Table
Constraint
Trigger
User
View
Workflow
plugin_
helper
utils
state
web_
mobile_
commons
db
migrations
@saltcorn/db-
common
@saltcorn/markup
@saltcorn/mobile-
builder
@saltcorn/sqlite
@saltcorn/sqlite-
mobile
@saltcorn/types
Generated using
TypeDoc
Role class