It seems that in SilverBullet everything is an “object” where “attributes” can be attached. I am aware that querying for all tags is possible via ${query[[from index.tag "tag" select name]]}, but this works because tags are also objects which are tagged with tag. (Maybe I am wrong, please correct me if I am!)
So naturally there comes the question of obtaining a list of all attributes. Is an attribute an “object”? I put some attributes to pages via frontmatter regularly (e.g. tags, finished, etc.) and don’t want to loose track of these attributes, so a list of all attributes that I’ve added would be very helpful.
If you place [attr: ibute] in some paragraphs you can easily get them with
${query[[from index.tag 'paragraph' where _.attr]] }
But I do not see a way how to get all attributes for particular object.
The point is that any attribute is just another column in the object table and not a structured value of some particular column like the itags for example. Not sure, but perhaps there can be a way of querying every indexed object (?), get all column names (?) and exclude everything that is not an attribute from the list and then sort | uniq the list. I am also very interested in the solution for this question.