Enable server specific config identified by host name.
- Source:
- features/configByHostname.js
Members
-
<static> type :string
-
This feature is loaded at configuration stage
Type:
- string
- Source:
- features/configByHostname.js
-
<static> type :string
-
This feature is loaded at configuration stage
Type:
- string
- Source:
- features/configFromDataSource.js
Methods
-
<static> load_(app, options)
-
Load the feature
Parameters:
Name Type Description appApp The cli app module object
optionsobject Options for the feature
- Source:
- features/configByHostname.js
Properties:
Name Type Argument Description options.fallbackNamestring <optional>
Fallback name if hostname not available
Returns:
- Type
- Promise.<*>
-
<static> load_(app, config)
-
Load the feature
Parameters:
Name Type Description appApp The cli app module object
configobject Config for the feature
- Source:
- features/configFromDataSource.js
Properties:
Name Type Argument Description config.driverstring <optional>
Data source driver
config.connectionStringstring <optional>
Connection string
config.entitystring <optional>
Entity of the config
config.keystring <optional>
Query key of the config
Returns:
- Type
- Promise.<*>