11 | | qs.query.group_by = ['product_id', truncate_date] # this is private API, but you'd need to use the alias |
12 | | # name of the extra clause ("created_at"), which is ambiguous because |
13 | | # you've used the same name. group_by=['product_id', 'created_extra'] |
| 11 | |
| 12 | # this is private API, but you'd need to use the alias name of the extra clause ("created_at"), |
| 13 | # which is ambiguous because you've used the same name. group_by=['product_id', 'created_extra'] |
| 14 | qs.query.group_by = ['product_id', truncate_date] |