How to edit query expression that is rendered as the queried results in Logseq desktop (Windows)

One way I’ve managed to do this is to minimise the bullet point that is the header of the query, then place your cursor on the line above/below this, and then use your keyboard arrow buttons to move your cursor up/down into the line of the query header. This then reveals the query text. Hope this helps.