Thanks to visit codestin.com Credit goes to dev.mysql.com
Syntax:
has_rows = ccnx.have_result_set
After execution of the query() method, this property indicates whether the query returns rows.
query()