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

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.


Import path

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