privex.db.types

This module holds newly defined types which are used across the module, such as GenericCursor and GenericConnection

Copyright:

    +===================================================+
    |                 © 2019 Privex Inc.                |
    |               https://www.privex.io               |
    +===================================================+
    |                                                   |
    |        Privex's Python Database Library           |
    |        License: X11 / MIT                         |
    |                                                   |
    |        Originally Developed by Privex Inc.        |
    |        Core Developer(s):                         |
    |                                                   |
    |          (+)  Chris (@someguy123) [Privex]        |
    |                                                   |
    +===================================================+

Copyright (c) 2019     Privex Inc.   ( https://www.privex.io )

Classes

GenericConnection(*args, **kwargs)

This is a typing_extensions.Protocol which represents any database Connection object which follows the Python DB API (PEP 249).

GenericCursor(*args, **kwargs)

This is a typing_extensions.Protocol which represents any database Cursor object which follows the Python DB API (PEP 249).

class privex.db.types.GenericAsyncConnection(*args, **kwargs)[source]
class privex.db.types.GenericAsyncCursor(*args, **kwargs)[source]
class privex.db.types.GenericConnection(*args, **kwargs)[source]

This is a typing_extensions.Protocol which represents any database Connection object which follows the Python DB API (PEP 249).

class privex.db.types.GenericCursor(*args, **kwargs)[source]

This is a typing_extensions.Protocol which represents any database Cursor object which follows the Python DB API (PEP 249).