The cursor class — Psycopg 2.9.3.dev0 documentation
https://www.psycopg.org/docs/cursor.htmldescription¶. Read-only attribute describing the result of a query. It is a sequence of Column instances, each one describing one result column in order. The attribute is None for operations that do not return rows or if the cursor has not had an operation invoked via the execute*() methods yet.. For compatibility with the DB-API, every object can be unpacked as a 7-items …