ploomber.testing.sql.range_in_column

ploomber.testing.sql.range_in_column(client, col: str, product)

Get range for a column

Parameters:
  • client – Database client

  • cols – Column to check

  • product – The relation to check

Returns:

(minimum, maximum) values

Return type:

tuple