get_row_count

get_row_count(table_name, taql)[source]

Return the number of rows in the specified table that match the given TaQL query.

Parameters:
  • table_name (str) -- Path to the CASA table.

  • taql (str) -- The TaQL query string used to filter the table rows.

Returns:

The number of rows matching the query, or 0 if an error occurs.

Return type:

int