Query for pair-wise attributes

36 views
Skip to first unread message

Yu

unread,
Dec 13, 2022, 9:08:26 PM12/13/22
to cqengine-discuss
Hi, 

I'm working on a project using CQEngine, and there's a use case that I'm not sure how I can solve using the attributes class. It will be great if I can get any input from you. 

Say we have a data schema like the following:

Entity{
   String name;
   List<Tag> tagList; 
}

Tag {
   String key;
   String value;
}

Is there any good way we can do if we want to support the query for both the tag key and the tag value? Something like "tag.key contains xxx and tag.value not equal yyy".


Thanks in advance!
Yu

Niall Gallagher

unread,
Dec 14, 2022, 7:02:52 PM12/14/22
to cqengine...@googlegroups.com

--
-- You received this message because you are subscribed to the "cqengine-discuss" group.
http://groups.google.com/group/cqengine-discuss
---
You received this message because you are subscribed to the Google Groups "cqengine-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cqengine-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cqengine-discuss/d7797212-ebff-4a46-a6b2-545c3d916fc9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages