fromConfig method
Retrieves a single ConnectionParams from configuration parameters from 'connection' section. If 'connections' section is present instead, then is returns only the first connection element.
config
ConnectionParams, containing a section named 'connection(s)'. Return the generated ConnectionParams object.
See manyFromConfig