Get the absolute path to a connections.json file. If the path provided is not absolute then it's assumed relative to the current working directory.
Absolute or relative path to a connections file.
Get (and verify) the connection options in a file. The file should contain an array of ConnectionOptions. Alternatively, ConnectionOptions keys in the file may be objects in the form {ENV: "<ENV_VAR_NAME>"}, which allows for the use of environment variables.
A path to a connections.json file containing an array of connection details.
An array of ConnectionOptions objects.
Generated using TypeDoc
Helper for reading a connections JSON file.