how can I filtering select results with link properties? #4501
Unanswered
junhee-yoo
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You could assign your tag to a different name and filter using that name. In your case something like this should work
If that's the best solution, I do not know. I also couldn't find anything about it in the documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to do a
select
query withfilter by link properties
.I've tried with:
schema:
With the above schema, I could select
Foo
withBar
like:(I referred https://www.edgedb.com/docs/guides/cheatsheet/link_properties#querying)
but when I try to filter out bars with link properties, such like:
It showed me an error:
EdgeQLSyntaxError: Unexpected '@'
so I removed the '@',InvalidReferenceError: object type 'default::Bar' has no link or property 'tag'
. I also tried some other ways but still faced errors.I've searched on issues and discussions on this repo to get an answer but I couldn't find one.
Can I get some advice?
My edgedb server version is:
Beta Was this translation helpful? Give feedback.
All reactions