MySQL Connector/Python Developer Guide

11.17 _mysql_connector.MySQL.field_count() Method

Syntax:

count = ccnx.field_count()

Returns the number of columns in the active result set.