Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以在 ObjectBox 中获取多属性 Unique 或 Index?例如,如果我希望一个人是唯一的或根据他们的全名进行索引,那么可能有多个 John 或多个 Smith,但只能有一个 John Smith?
抱歉,目前不支持此功能,近期也没有计划支持此功能。当然,你可以有两个独立的索引,并在你的末端有这个逻辑。