We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Moved from (inkandswitch/ksp-browser#9 (comment))
Querying ksp for siblinks currently looks as follows:
query Siblinks { resource(url: "https://www.inkandswitch.com/local-first.html") { url sibLinks: links { ...sibLink } } } fragment sibLink on Link { target { url backLinks { ...backLink } tags { ...tag } } } fragment tag on Tag { name } fragment backLink on Link { kind identifier name title fragment location referrer { url info { title description cid } tags { ...tag } } }
There are multiple problems with this:
n+1
I don't want to spend time on optimizing this right now, but think we should expose another query endpoint to have something like:
query { siblinks(url: "https://www.inkandswitch.com/local-first.html") { ...sibLink } }
Which in the KSP can accomplish this with single SQL query and exclude links for the passed url itself.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Moved from (inkandswitch/ksp-browser#9 (comment))
Querying ksp for siblinks currently looks as follows:
There are multiple problems with this:
n+1
SQL queriesI don't want to spend time on optimizing this right now, but think we should expose another query endpoint to have something like:
Which in the KSP can accomplish this with single SQL query and exclude links for the passed url itself.
The text was updated successfully, but these errors were encountered: