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
get
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
get
get
(
name
:
string
)
:
Collection
Parameters
name:
string
Returns
Collection
list
list
(
)
:
string
[]
Returns
string
[]
Globals
Internals
"collection"
"database"
"document"
"main"
"mindb"
"query"
"utils"
Externals
"types/querydata"
"types/sortdata"
"types/types"
"types/wheresdata"
Database
constructor
_collections
_options
name
_RESERVED
collection
get
list
create
Database
Proxy
Generated using
TypeDoc