标签: column-aggregation

同一模式中的不同继承类型

我在symfony项目上使用Doctrine 1.2,我正在考虑在我的模式中混合具体和列聚合继承类型:列聚合让我在父表中查询并获取父记录和子记录,而具体的继承让我得到更清洁的架构.此外,混合将在同一个继承链中.我该如何编写模式文件?喜欢以下?

A:

B:
  inheritance:
    extends: A
    type: concrete

C:
  inheritance:
    extends: B
    type: column_aggregation
    keyField:         type
    keyValue:         1
Run Code Online (Sandbox Code Playgroud)

或者这样或许:

A:

B:
  inheritance:
    extends: A
    type: concrete

C:
  inheritance:
    extends: B
    type: concrete
D:
  inheritance:
    extends: C
    type: column_aggregation
    keyField:         type
    keyValue:         1


E:
  inheritance:
    extends: C
    type: column_aggregation
    keyField:         type
    keyValue:         2
Run Code Online (Sandbox Code Playgroud)

有危险/警告吗?

inheritance doctrine symfony1 concrete-inheritance column-aggregation

26
推荐指数
1
解决办法
1170
查看次数

有没有办法将摘要行添加到jqgrid treeview

我正在使用带有treegrid视图的jqgrid,并且大多数列是在树上聚合的数字.缺少的一个部分是总行来聚合顶级层次结构.有没有内置到jqgrid中的东西来支持这个或者应该传递给:

jquery jqgrid treegrid column-aggregation

1
推荐指数
1
解决办法
5702
查看次数