Export query table data to XML/JSON/cvs

Once I have some query results in a table view, I would like to be able to export that data to a file in a format that other applications can read (XML, JSON, CSV, etc). Is there a way to do that? Either export a page that has a query in it, or even run a command line query to get that data and save it off?

2 Likes

Similar:

Hello Jennie,
I had the same issue and found (for my use case) that ā€œLogseq Cuveeā€ plugin was exactly what I was looking for.
It do exports the query contents to csv file. I had to test some variations in order to reach the result. In my case Iā€™ve created a new page for the export and used the following command : {{renderer :cuvee, true, (property a) (property b) (property c)}} the preview with the table was shown and also the possibility to export to csv.
Hope it helps.

1 Like

Copying the results of a query is possible. By using the mouse, select the text, making sure not to enter edit mode.Copy with a keyboard shortcut (Windows CTRL+C) while holding the button down.

1 Like

But there is a lack of features to define which level of hierarchy you want to render for the copy/print/whatever. How to export query results as markdown or rich text? - #6 by daviddelven

Just copying collapsed blocks does not copy the collapsed rendered one but everything nested, including logbook, etcā€¦