Documentation
Preparing search index...
@saltcorn/data
models/library
export=
Class export=
Library Class
Index
Constructors
constructor
Properties
icon
id?
layout
name
Accessors
to
Json
Methods
delete
suitable
For
update
create
find
find
One
Constructors
constructor
new
"export="
(
o
:
export=
|
LibraryCfg
)
:
export=
Library constructor
Parameters
o
:
export=
|
LibraryCfg
Returns
export=
Properties
icon
icon
:
string
Optional
id
id
?:
number
layout
layout
:
any
name
name
:
string
Accessors
to
Json
get
toJson
()
:
any
Returns
any
Methods
delete
delete
()
:
Promise
<
void
>
Returns
Promise
<
void
>
suitable
For
suitableFor
(
what
:
string
)
:
any
Parameters
what
:
string
Returns
any
update
update
(
row
:
Row
)
:
Promise
<
void
>
Parameters
row
:
Row
Returns
Promise
<
void
>
Static
create
create
(
lib_in
:
LibraryCfg
)
:
Promise
<
void
>
Parameters
lib_in
:
LibraryCfg
Returns
Promise
<
void
>
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
icon
id
layout
name
Accessors
to
Json
Methods
delete
suitable
For
update
create
find
find
One
Documentation
Loading...
Library Class