getModelToken
getModelToken(entity: Function, connection: any = DEFAULT_CONNECTION_NAME)
Parameters
| Option | Type | Description |
|---|---|---|
entity
|
Function |
|
connection
|
string |
Connection name
|
Returns
[object Object] The Entity injection token