get_table_column_count

get_table_column_count(table_name, selected=False)

Get a number of columns in the table.

Parameters:
  • table_name (str) – table name

  • selected (bool) – consider only selected columns

Return type:

int

Returns:

number of columns

Raises:

ValueError – if the table name is invalid