PYTHON SQLite3Result::numColumns

is this article helpful?
|
Python replacement for PHP's SQLite3Result::numColumns [ edit | history ]
len(cursor.description)

PHP SQLite3Result::numColumns

PHP original manual for SQLite3Result::numColumns [ show | php.net ]

SQLite3Result::numColumns

(PHP 5 >= 5.3.0)

SQLite3Result::numColumnsReturns the number of columns in the result set

Description

public int SQLite3Result::numColumns ( void )

Returns the number of columns in the result set.

Parameters

This function has no parameters.

Return Values

Returns the number of columns in the result set.