ConnectionString Class

Key/value mappings for connection details. Uses the same syntax as dictionary

Inheritance
builtins.object
ConnectionString

Constructor

ConnectionString(connection_string)

Parameters

connection_string

Methods

get

Return the value for key if key is in the dictionary, else default

get

Return the value for key if key is in the dictionary, else default

get(key, default=None)

Parameters

key
str
Required

The key to retrieve a value for

default
str
default value: None

The default value returned if a key is not found

Returns

The value for the given key