Search
Preparing search index...
The search index is not available
mindb
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"database"
Database
Class Database
Hierarchy
Database
Index
Constructors
constructor
Properties
_collections
_options
name
_RESERVED
Methods
collection
exportJSON
get
importJSON
list
Constructors
constructor
new
Database
(
name
:
string
, options
?:
object
)
:
Database
Parameters
name:
string
Optional
options:
object
Returns
Database
Properties
Private
_collections
_collections
:
object
Type declaration
[
key:
string
]:
Collection
Private
_options
_options
:
object
name
name
:
string
Static
Private
_RESERVED
_RESERVED
:
string
[]
= ['_RESERVED','name','_collections','_options','collection','get','list']
Methods
collection
collection
(
name
:
string
, schema
?:
object
)
:
Collection
Parameters
name:
string
Optional
schema:
object
Returns
Collection
exportJSON
exportJSON
(
)
:
string
Returns
string
get
get
(
name
:
string
)
:
Collection
Parameters
name:
string
Returns
Collection
importJSON
importJSON
(
json
:
string
, overwrite
?:
boolean
)
:
void
Parameters
json:
string
Default value
overwrite:
boolean
= false
Returns
void
list
list
(
)
:
string
[]
Returns
string
[]
Globals
Internals
"collection"
"database"
"document"
"index"
"main"
"mindb"
"query"
"utils"
Externals
"types/querydata"
"types/sortdata"
"types/types"
"types/wheresdata"
Database
constructor
_collections
_options
name
_RESERVED
collection
exportJSON
get
importJSON
list
create
Database
Proxy
Generated using
TypeDoc