Skip to content
Discussion options

You must be logged in to vote

DVJS sample:

dv.table(
    ["Article", "Summary"],
    dv.current().file.inlinks
        .map(t=>dv.page(t.path))
        .where(t => t.source.path == dv.current().file.name)
        .map(t=> [t.file.link, t.summary])
)

DQL sample (doesn't work):

table
file.link as Article,
summary as Summary
from
[[Subject Page]]
where meta(source).path = this.file.path

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@therealfakemoot
Comment options

@therealfakemoot
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by AB1908
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants