Comments (9)
Confirmed to be included in 0.2.0, using the FLATTEN
command, like so:
TABLE owner, pet FROM #owners
FLATTEN pets AS pet
from obsidian-dataview.
Interesting! So essentially flatten arrays/maps (so one logical row per entry, per file) and do a query over that. Implementation wise it doesn't seem too bad, it would just complicate the FROM block somewhat. Perhaps a separate FLATTEN operation would make the query simpler (so it would look like)
```dataview
table pets.name, pets.age, owners.name as "parent note"
unnest pets
from "pet-owners"
```
I'll probably look at this at some point in the future, but would be happy to consult if you want to take a look at the feature yourself.
from obsidian-dataview.
The syntax may look a little different than what I mentioned above, but this will be coming as part of pipeline queries in 0.2.0, the release after the upcoming release.
from obsidian-dataview.
Yes, exactly! I like the idea of an unnest query term, it hints at multi-level unnesting π
I'll take a look at this in the next few weeks; if you get to it first, all the better.
from obsidian-dataview.
+1 for me. This would rock
from obsidian-dataview.
Legend. This will be magnificent.
p.s. Thanks for this plugin. I has totally transformed my workflow. Really REALLY appreciate your work.
from obsidian-dataview.
Amazing! And ditto, such valuable work.
from obsidian-dataview.
I'm literally refreshing your github every few hours waiting for this release π
Super excited
from obsidian-dataview.
Released as part of 0.2.0; let me know if you encounter any problems.
from obsidian-dataview.
Related Issues (20)
- Bug report DataView can not render emoji character and show as null HOT 5
- Bug report HOT 14
- Bug report HOT 2
- Embedded notes miss link to note HOT 1
- glob pattern matching HOT 4
- Bug report- the task from in the dataview can not display and cause the obsidian helper(Renderer) CPU used 100% HOT 3
- Dataview do not update results HOT 1
- Bug report dv.lists Evaluation Error: TypeError: e is not a function HOT 2
- Calculated table columns repeats the value
- Dataview breaks links in preview mode when linking to aliases that include ::
- Cannot use Regex Special Characters HOT 2
- Getting the same page metadata even after some specific page metadata have changed
- The `outgoing()` does not behave as expected when used with non-existent file.
- Very small query causes entire system to freeze up? HOT 4
- Bug report- different meta from properties and inlinks(outlinks)
- Dataview DQL βWITHβ-section HOT 5
- Commenting in DQL
- Highlighting the dataview syntax
- Heading-Hierarchy to organize List Items and Tasks
- dataview doc pages not rendering HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-dataview.