sebastienros/yessql

How to execute query and still be able to use that query

Opened this issue · 0 comments

Hello,

I'm using Orchard Core and I'm in a situation that I have two queries and I need the results of the first query to determine which results of the second query can be shown.

image

When I execute the code above, the last line is skipped because of the .ListAsync() method above.

Is there a possibility to execute a query and then be able to use that same query afterwards or is there a possibility to copy a query to remove the reference to the original query?

Thanks!