You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to get the number of rows from the last query (a SELECT query). An equivalent to cursor.rowcount in psycopg2.
I saw in #311 that we can get the query status line (as a string) from execute function. Actually, I'm not able to use it since I need a cursor. Don't know very well binary protocol of pg.. I don't even know if it is possible to get it.
The purpose of this issue is to avoid doing multiple queries (for instance with count(*) statement).