本文介绍了至少一个所有者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有实体表,其中包含entity_id列。
我还有entity_owner表并且它也作为entity_id和owner_id列。
现在我需要设置一个规则,即实体应该至少有一个所有者,尽管它可以有多个所有者。 / p>
我如何实现这一目标?
请提供建议。
解决方案
Hi all,
I got entities table and it has entity_id column among others.
I got also entity_owner table and it as entity_id and owner_id columns among others as well.
Now I would need to set a rule that entity should have at least one owner, though it can have more than one owner.
How do I achieve that?
Please advise.
解决方案
这篇关于至少一个所有者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!