make_connection¶
-
GenericDBWrapper.
make_connection
(*args, **kwargs) → privex.db.types.GenericConnection[source]¶ Creates a database connection using
connector_func
, passing all arguments/kwargs directly to the connector function.- Return GenericConnection conn
A database connection object, which should implement at least the basic connection object methods as specified in the Python DB API (PEP 249), and in the Protocol type class
GenericConnection