MCPcopy Create free account
hub / github.com/SOCI/soci / get_example_connection_string

Function get_example_connection_string

tests/test-context.h:119–119  ·  view source on GitHub ↗

This is a purely informational function returning an example of a DSN which can be used with this backend. It should be overridden if initialize_connect_string() is _not_ overridden to improve the error message given when the connection string is not specified on the command line.

Source from the content-addressed store, hash-verified

117 // overridden to improve the error message given when the connection string
118 // is not specified on the command line.
119 virtual std::string get_example_connection_string() const { return {}; }
120
121 // This function is called before starting to run the test suite.
122 //

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected