mdelobelle / metadatamenu

For data management enthusiasts : type and manage the metadata of your notes.
https://mdelobelle.github.io/metadatamenu
MIT License
520 stars 27 forks source link

Santized Metadata Key does not work for nested key. Query is case sensitive for the nest key and cant deal with spaces #665

Open ybalkind opened 5 months ago

ybalkind commented 5 months ago

When YAML is as follows:

`

Object One: Key1:

If I'm querying Object One I would sanitize it (as per your docs).

TABLE object-one
WHERE file = this.file

However if querying Key1 (following the guide on Objects here)

TABLE object-one.key1 
WHERE file = this.file

Will not work. It works if I capitalise Key1, which seems contrary to your docs.

Querying Key 2 I cant figure out how to make it work at all as the space seems to break the query and sanitising with a hyphen doesn't help. So I'm forced to change the property in the YAML to a single word.