@wxn0brp/db-core
Preparing search index...
types/action
ActionsBaseInterface
Interface ActionsBaseInterface
interface
ActionsBaseInterface
{
_inited
:
boolean
;
numberId
:
boolean
;
add
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
;
ensureCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
find
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
;
findOne
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
;
getCollections
()
:
Promise
<
string
[]
>
;
init
(
...
args
:
any
[]
)
:
Promise
<
void
>
;
issetCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
remove
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
;
removeCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
removeOne
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
;
toggleOne
(
config
:
VQuery
)
:
Promise
<
ToggleOneResult
<
DataInternal
>
>
;
update
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
;
updateOne
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
;
updateOneOrAdd
(
config
:
VQuery
)
:
Promise
<
UpdateOneOrAddResult
<
DataInternal
>
>
;
}
Implemented by
ActionsBase
Index
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
Properties
_
inited
_inited
:
boolean
number
Id
numberId
:
boolean
Methods
add
add
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
>
ensure
Collection
ensureCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
find
find
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
[]
>
find
One
findOne
(
config
:
VQuery
)
:
Promise
<
DataInternal
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
>
get
Collections
getCollections
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
init
init
(
...
args
:
any
[]
)
:
Promise
<
void
>
Parameters
...
args
:
any
[]
Returns
Promise
<
void
>
isset
Collection
issetCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
remove
remove
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
[]
>
remove
Collection
removeCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
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
>
>
update
update
(
config
:
VQuery
)
:
Promise
<
DataInternal
[]
>
Parameters
config
:
VQuery
Returns
Promise
<
DataInternal
[]
>
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
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...