Hello everyone!
Objective
- I'm trying to access the full content of the database's column with the type
mSelect.
My approach
- I have created a new column with the type
templateand tried to access the values of themSelectcolumn usingindex . "columnName". - Then, I wanted to get the total number of both selected and non-selected
options.
Issue
- Only the selected
optionsare getting fetched.
Debug
- Using
.action{toPrettyJson . }it only returned the selectedoptionsas an array under the namemSelect. - I went to
\data\storage\avwhere all the actualjsonfiles are stored and found the file belonging to the database, then I found out that alloptionsare stored there under"key": {"options":[]}.
Question
- How can I access that
jsonfile and not the values from.action{toPrettyJson . }?
Welcome to here!
Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.
Signup About