@wxn0brp/db-core
Preparing search index...
base/actions
ActionsBase
Class ActionsBase
Abstract
Hierarchy (
View Summary
)
ActionsBase
CustomActionsBase
MultiBackend
RoutedStorage
Implements
ActionsBaseInterface
Index
Constructors
constructor
Properties
_
inited
number
Id
Methods
add
ensure
Collection
find
find
One
get
Collections
init
isset
Collection
remove
remove
Collection
remove
One
toggle
One
update
update
One
update
One
Or
Add
Constructors
constructor
new
ActionsBase
()
:
ActionsBase
Returns
ActionsBase
Properties
_
inited
_inited
:
boolean
= true
number
Id
numberId
:
boolean
= false
Methods
Abstract
add
add
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
>
Abstract
ensure
Collection
ensureCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
Abstract
find
find
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
[]
>
Abstract
find
One
findOne
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
>
Abstract
get
Collections
getCollections
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
init
init
(
...
args
:
any
[]
)
:
Promise
<
void
>
Parameters
...
args
:
any
[]
Returns
Promise
<
void
>
Abstract
isset
Collection
issetCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
Abstract
remove
remove
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
[]
>
Abstract
remove
Collection
removeCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
Abstract
remove
One
removeOne
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
>
toggle
One
toggleOne
(
config
:
VQuery
)
:
Promise
<
ToggleOneResult
<
DataInternal
>
>
Parameters
config
:
VQuery
Returns
Promise
<
ToggleOneResult
<
DataInternal
>
>
Abstract
update
update
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
[]
>
Abstract
update
One
updateOne
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
>
update
One
Or
Add
updateOneOrAdd
(
config
:
VQuery
)
:
Promise
<
UpdateOneOrAddResult
<
DataInternal
>
>
Parameters
config
:
VQuery
Returns
Promise
<
UpdateOneOrAddResult
<
DataInternal
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
inited
number
Id
Methods
add
ensure
Collection
find
find
One
get
Collections
init
isset
Collection
remove
remove
Collection
remove
One
toggle
One
update
update
One
update
One
Or
Add
@wxn0brp/db-core
Loading...