CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Module PEP249

Provides classes modeling database interfaces following PEP 249. See https://www.python.org/dev/peps/pep-0249/.

Import path

import semmle.python.frameworks.internal.PEP249Impl

Predicates

connect

Gets a reference to the connect function of a module that implements PEP 249.

execute

Gets a reference to the execute method on a cursor (or on a connection).

Classes

PEP249ModuleApiNode

An API graph node representing a module that implements PEP 249.

Modules

Connection

Provides models for database connections (following PEP 249).

Cursor

Provides models for database cursors (following PEP 249).