Preparing search index...
The search index is not available
Deepkit
Deepkit
framework
OrmBrowserController
Class OrmBrowserController
Hierarchy
OrmBrowserController
Implements
BrowserControllerInterface
Index
Constructors
constructor
Properties
databases
Methods
commit
create
extract
Database
Info
find
Database
get
Count
get
Database
get
Databases
get
Db
get
Db
Entity
get
Faker
Types
get
Items
get
Migrations
http
Query
migrate
query
register
Database
reset
All
Tables
seed
Constructors
constructor
new
Orm
Browser
Controller
(
databases
:
Database
<
DatabaseAdapter
>
[]
)
:
OrmBrowserController
Parameters
databases:
Database
<
DatabaseAdapter
>
[]
Returns
OrmBrowserController
Properties
Protected
databases
databases
:
Database
<
DatabaseAdapter
>
[]
Methods
commit
commit
(
commit
:
DatabaseCommit
)
:
Promise
<
void
>
Parameters
commit:
DatabaseCommit
Returns
Promise
<
void
>
create
create
(
dbName
:
string
, entityName
:
string
)
:
Promise
<
any
>
Parameters
dbName:
string
entityName:
string
Returns
Promise
<
any
>
Protected
extract
Database
Info
extract
Database
Info
(
db
:
Database
<
DatabaseAdapter
>
)
:
DatabaseInfo
Parameters
db:
Database
<
DatabaseAdapter
>
Returns
DatabaseInfo
Protected
find
Database
find
Database
(
name
:
string
)
:
Database
<
DatabaseAdapter
>
Parameters
name:
string
Returns
Database
<
DatabaseAdapter
>
get
Count
get
Count
(
dbName
:
string
, entityName
:
string
, filter
:
{
[name:
string
]
:
any
;
}
)
:
Promise
<
number
>
Parameters
dbName:
string
entityName:
string
filter:
{
[name:
string
]
:
any
;
}
[
name:
string
]:
any
Returns
Promise
<
number
>
get
Database
get
Database
(
name
:
string
)
:
DatabaseInfo
Parameters
name:
string
Returns
DatabaseInfo
get
Databases
get
Databases
(
)
:
DatabaseInfo
[]
Returns
DatabaseInfo
[]
Protected
get
Db
get
Db
(
dbName
:
string
)
:
Database
<
DatabaseAdapter
>
Parameters
dbName:
string
Returns
Database
<
DatabaseAdapter
>
Protected
get
Db
Entity
get
Db
Entity
(
dbName
:
string
, entityName
:
string
)
:
[
Database
<
DatabaseAdapter
>
,
ReflectionClass
<
any
>
]
Parameters
dbName:
string
entityName:
string
Returns
[
Database
<
DatabaseAdapter
>
,
ReflectionClass
<
any
>
]
get
Faker
Types
get
Faker
Types
(
)
:
Promise
<
FakerTypes
>
Returns
Promise
<
FakerTypes
>
get
Items
get
Items
(
dbName
:
string
, entityName
:
string
, filter
:
{
[name:
string
]
:
any
;
}
, sort
:
{
[name:
string
]
:
any
;
}
, limit
:
number
, skip
:
number
)
:
Promise
<
{
executionTime
:
number
;
items
:
any
[]
;
}
>
Parameters
dbName:
string
entityName:
string
filter:
{
[name:
string
]
:
any
;
}
[
name:
string
]:
any
sort:
{
[name:
string
]
:
any
;
}
[
name:
string
]:
any
limit:
number
skip:
number
Returns
Promise
<
{
executionTime
:
number
;
items
:
any
[]
;
}
>
get
Migrations
get
Migrations
(
name
:
string
)
:
Promise
<
{
[name:
string
]
:
{
diff
:
string
;
sql
:
string
[]
;
}
;
}
>
Parameters
name:
string
Returns
Promise
<
{
[name:
string
]
:
{
diff
:
string
;
sql
:
string
[]
;
}
;
}
>
http
Query
http
Query
(
dbName
:
HttpQuery
<
string
,
{}
>
, entityName
:
HttpQuery
<
string
,
{}
>
, query
:
HttpQuery
<
string
,
{}
>
)
:
Promise
<
QueryResult
>
Parameters
dbName:
HttpQuery
<
string
,
{}
>
entityName:
HttpQuery
<
string
,
{}
>
query:
HttpQuery
<
string
,
{}
>
Returns
Promise
<
QueryResult
>
migrate
migrate
(
name
:
string
)
:
Promise
<
void
>
Parameters
name:
string
Returns
Promise
<
void
>
query
query
(
dbName
:
string
, entityName
:
string
, query
:
string
)
:
Promise
<
QueryResult
>
Parameters
dbName:
string
entityName:
string
query:
string
Returns
Promise
<
QueryResult
>
register
Database
register
Database
(
...
databases
:
Database
<
DatabaseAdapter
>
[]
)
:
void
Parameters
Rest
...
databases:
Database
<
DatabaseAdapter
>
[]
Returns
void
reset
All
Tables
reset
All
Tables
(
name
:
string
)
:
Promise
<
void
>
Parameters
name:
string
Returns
Promise
<
void
>
seed
seed
(
dbName
:
string
, seed
:
SeedDatabase
)
:
Promise
<
void
>
Parameters
dbName:
string
seed:
SeedDatabase
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Deepkit
angular-
universal
api-
console-
api
api-
console-
module
app
broker
bson
core
core-
rxjs
create-
app
crypto
event
framework
framework-
debug-
api
http
injector
logger
mongo
mysql
orm
orm-
browser-
api
orm-
integration
postgres
rpc
rpc-
tcp
skeleton
sql
sqlite
stopwatch
template
type
type-
compiler
workflow
Orm
Browser
Controller
constructor
databases
commit
create
extract
Database
Info
find
Database
get
Count
get
Database
get
Databases
get
Db
get
Db
Entity
get
Faker
Types
get
Items
get
Migrations
http
Query
migrate
query
register
Database
reset
All
Tables
seed
Generated using
TypeDoc