@wxn0brp/db-core
Preparing search index...
types/valthera
ValtheraCompatibleInternal
Interface ValtheraCompatibleInternal
interface
ValtheraCompatibleInternal
{
add
<
T
=
Data
>
(
config
:
VQuery
)
:
Promise
<
T
>
;
c
(
config
:
VQuery
)
:
default
;
ensureCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
find
<
T
=
Data
>
(
config
:
VQuery
)
:
Promise
<
T
[]
>
;
findOne
<
T
=
Data
>
(
config
:
VQuery
)
:
Promise
<
T
>
;
getCollections
()
:
Promise
<
string
[]
>
;
issetCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
remove
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
removeCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
removeOne
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
toggleOne
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
update
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
updateOne
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
updateOneOrAdd
(
config
:
VQuery
)
:
Promise
<
boolean
>
;
}
Index
Methods
add
c
ensure
Collection
find
find
One
get
Collections
isset
Collection
remove
remove
Collection
remove
One
toggle
One
update
update
One
update
One
Or
Add
Methods
add
add
<
T
=
Data
>
(
config
:
VQuery
)
:
Promise
<
T
>
Type Parameters
T
=
Data
Parameters
config
:
VQuery
Returns
Promise
<
T
>
c
c
(
config
:
VQuery
)
:
default
Parameters
config
:
VQuery
Returns
default
ensure
Collection
ensureCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
find
find
<
T
=
Data
>
(
config
:
VQuery
)
:
Promise
<
T
[]
>
Type Parameters
T
=
Data
Parameters
config
:
VQuery
Returns
Promise
<
T
[]
>
find
One
findOne
<
T
=
Data
>
(
config
:
VQuery
)
:
Promise
<
T
>
Type Parameters
T
=
Data
Parameters
config
:
VQuery
Returns
Promise
<
T
>
get
Collections
getCollections
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
isset
Collection
issetCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
remove
remove
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
remove
Collection
removeCollection
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
remove
One
removeOne
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
toggle
One
toggleOne
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
update
update
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
update
One
updateOne
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
update
One
Or
Add
updateOneOrAdd
(
config
:
VQuery
)
:
Promise
<
boolean
>
Parameters
config
:
VQuery
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
c
ensure
Collection
find
find
One
get
Collections
isset
Collection
remove
remove
Collection
remove
One
toggle
One
update
update
One
update
One
Or
Add
@wxn0brp/db-core
Loading...