Bu biraz özel kurulum iç içe set yetenekleri olması mümkün mü?
Bu 4 tablo düşünün:
- Object (
oid,name) içerir: [1, 'Lisans'] ve [2 ', muafiyet']- Licence (
lid,name)- Exemption (
eid,name)- Cost (
oid,oid_ref,cost_oid,cost_oid_ref)
For:
P = Licence with lid [1]
R = Exemption with eid [2]
i "nesne P bir parent itiraz etmek R" demek şu Maliyet kayıt varsa yapabilirsiniz:
[oid: 2
oid_ref: 2
cost_oid: 1
cost_oid_ref: 1]
Bu ben kodu tanımlamak gerekir 'koşullu yabancı anahtar' ilişkisi somesort oluşturur anlıyorum. Is it possible to have the nested set loaded with these conditions?