Totally agree about adding views. I didn't see this one but it won't work right now - the problem is that ctable never deletes rows - it just updates / adds rows so every time the date changes a new row will be added to SQL.

A solution would be to add an additional config parameter to the ctable mappings which is `couch_group_level`. Currently the query just does `group=true`. If we're able to configure the `group_level` per mapping then we could use this view.

Want me to make that change tonight?