This is currently implimented in the clear_table function but it has other uses. For example getting an item count:
In [47]: ddb.scan(TableName=table_name, Select='COUNT')['Count']
Out[47]: 3672
In [53]: sum(1 for _ in paginate(ddb.scan, TableName=table_name))
Out[53]: 30946
As you can see, COUNT only counts per page.
This is currently implimented in the
clear_tablefunction but it has other uses. For example getting an item count:As you can see,
COUNTonly counts per page.