RFC 22 - Queries #1284
Replies: 9 comments 7 replies
-
I'm excited about this. I feel like this could become a core building block of many convenient features we can add to Dendron :) One thing I'm not grasping yet: How is this going to be rendered? Will it be similar to how wildcard note references are rendered? |
Beta Was this translation helpful? Give feedback.
-
Very cool writeup, very thoughtful! Some implementation level stuff:
Few small stuff on the RFC page:
|
Beta Was this translation helpful? Give feedback.
-
as much as makes sense, we should adopt similar syntax from logseq/roam to maximize functionality and make it easier to convert from one to the other in pods in the future |
Beta Was this translation helpful? Give feedback.
-
This is a great addition to Dendron that I very much support. There are two details that would support my use-cases for this:
I have no particular preferences to syntax, though I do agree with other posters that we're approaching database territory. My personal preference would be "one I know already", and the most powerful/flexible of those is probably GraphQL based upon the schemata defined in the vault. That also intersects nicely with the graph visualisation tools which Dendron offers, so that people could explore their queries in a more visual way. |
Beta Was this translation helpful? Give feedback.
-
Is there any movement on this feature? It would be great to have "smart" lists of tasks using this to deal with different contexts without lots of manual work. |
Beta Was this translation helpful? Give feedback.
-
Hello, the link in the OP (https://wiki.dendron.so/notes/O4f9yfDoO7E7gRRDeBeCh.html) is broken. |
Beta Was this translation helpful? Give feedback.
-
Related issue: |
Beta Was this translation helpful? Give feedback.
-
I have been playing with https://github.com/TryGhost/NQL/tree/main/packages/nql in a sideproject which is used and build by Ghost for https://ghost.org/docs/content-api/#filtering |
Beta Was this translation helpful? Give feedback.
-
Throwing this out there, I could be just thinking crazy from the amount of pie I ate yesterday (🦃 commenting the day after Thanksgiving in the US), but if there's already an MVP of using SQLite for the metadata backend, is this potentially something that could be handled more holistically by enabling code execution cells a la Orgmode, Sniprun to create a literate programming environment, potentially leveraging the notebook features in VSCode for cells and output (or not and just using triple backtick blocks)? I strongly believe not using one of the wacky query languages that other PKMs have used, and instead using the standard for query languages, SQL, specifically the SQL flavor already baked into SQLite, would be far more ideal. With the above you'd feed two birds with one scone, if you will, literate programming/code execution and queries. You'd just make a block and write a SQL query inside it. Again, I ate a ton of pie 🥧 yesterday and it perhaps has entered my brain 🧠, but this (code execution) feels like a feature on the same level of utility and difficultly as creating a query system, but it could accomplish both. Regardless of approach, I'm a data engineer and developer experience advocate professionally, so data tooling is what I live and breathe, and I'm deeply interested in helping to implement this. Would love to talk more about how I can get involved! ❤️ |
Beta Was this translation helpful? Give feedback.
-
This is the discussion for Query support in Dendron.
Beta Was this translation helpful? Give feedback.
All reactions