Some basic use examples of typcial Obsidian queries - Please #32
Replies: 4 comments
-
| 
         Tags is an array, well should always be, fixed a bug in new patch that makes sure a single entry is still treated as an array of one. Will release shortly. In database terms digging into a value of a column like that is not really an expected thing to do. So there are a few options. 
  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Release 1.1.1 will fix the tags array issue. https://github.com/sytone/obsidian-queryallthethings/releases/tag/1.1.1  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         @RitchieMatt does this help and can I close the issue or move to a discussion?  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         No response, moving it to discussion so others can see.  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried finding simple examples of the use of AlaSQL in the most mundane of cases. Just getting a list of all unique values from an array field.
I can't seem to find any examples.
I've used several AI Assistants, feeding them documents, examples, etc. I still cannot get the simplest use case working.
If there is a tutorial link, that would be great.
One pertinent use case is the ability to extract unique tags from the
obsidian_notestable where tags are stored as arrays. Currently, there seems to clear method for handling such nested array structures directly within AlaSQL queries in QATT.I'm sure this is extremely simple, I just can't get it working.
Example Query:
Here's an example of a query that I would like to execute to get all unique tags from the
obsidian_notestable:*This returns concatenated arrays of the tags field from each note, instead of each of the tags.
If I can get the basic queries working, I'd be happy to create and supply a set of examples that most people would be expecting to use with Obsidian notes.
Beta Was this translation helpful? Give feedback.
All reactions