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

Predicate PEP249::execute

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

Note: while execute method on a connection is not part of PEP249, if it is used, we recognize it as an alias for constructing a cursor and calling execute on it.

See https://peps.python.org/pep-0249/#execute.

Import path

import semmle.python.frameworks.PEP249
Node execute()