Search
Preparing search index...
The search index is not available
@aegis-framework/melan
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@aegis-framework/melan
database
export=
Class export=
Hierarchy
export=
Index
Constructors
constructor
Properties
_engine
_instance
Methods
instance
model
models
preload
setup
Constructors
constructor
new export=
(
)
:
export=
Returns
export=
Properties
Private
Static
_engine
_engine
:
DatabaseEngine
= 'mariadb'
Private
Static
_instance
_instance
:
DatabaseInterface
Methods
Static
instance
instance
(
)
:
Promise
<
DatabaseInterface
>
Returns
Promise
<
DatabaseInterface
>
Static
model
model
(
name
:
string
, path
:
string
)
:
Promise
<
Model
<
any
,
any
>
>
Parameters
name:
string
path:
string
Returns
Promise
<
Model
<
any
,
any
>
>
Static
models
models
(
models
?:
Record
<
string
,
string
>
)
:
Promise
<
Record
<
string
,
Model
<
any
,
any
>
>
>
Parameters
Optional
models:
Record
<
string
,
string
>
Returns
Promise
<
Record
<
string
,
Model
<
any
,
any
>
>
>
Static
preload
preload
(
models
?:
Record
<
string
,
string
>
)
:
Promise
<
DatabaseInterface
>
Parameters
models:
Record
<
string
,
string
>
= ...
Returns
Promise
<
DatabaseInterface
>
Static
setup
setup
(
engine
:
DatabaseEngine
)
:
void
Parameters
engine:
DatabaseEngine
Returns
void
Exports
Storage
Adapter
Storage
Adapter/AWS
branca
database
file-
storage
file-
storage-
adapter
password
request
response
router
secrets
text
token
util
export=
constructor
_engine
_instance
instance
model
models
preload
setup
Generated using
TypeDoc