Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to query using a list property that contains internal links #2263

Open
nicolnt opened this issue Mar 13, 2024 · 0 comments
Open
Labels
documentation Improvements or additions to documentation

Comments

@nicolnt
Copy link

nicolnt commented Mar 13, 2024

Please provide a link to the documentation page and section
https://blacksmithgu.github.io/obsidian-dataview/reference/sources/#links

Describe the problem
Documentation lacks explanation on how to query notes that have a specific link item inside a list property.
Problem reported and solution provided in this discussion: #2212 (comment)

Describe the solution you'd like
To obtain all pages which frontmatter property list related link to [[note]], use icontains(related, [[note]]) in the WHERE clause.

//Followed by a callout:
Warning
Do not use icontains function with quotes around the link, otherwise the [[note]] won't be recognised as a link.

Additional context

@nicolnt nicolnt added the documentation Improvements or additions to documentation label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant