get_row_count

get_row_count(table_name: str, taql: str) int[source]

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

Parameters:
  • table_name -- Path to the CASA table.

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

Returns:

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