我得到了我的数据库列日志,数据,类型如何从现在开始获取日志,并区分月份 f.ex:行
logs = 'error...'
data = 2012-11-05 11:24:08
type = 1
....我想让他们在那个视图中
month logs-count type
January 100 1
January 100 2
February 160 1
February 120 2
....