How to "generate" or "store" a query result type?

Hello, I was wondering how can I extract or store the type resulting from a query so that I ca use said type in other parts of my code without it depending on a specific function or implementation location in code.
1 Reply
koskimas
koskimas16mo ago
You can probably use the InferResult type https://kyse.link/?p=s&i=YVa7WqL7oNkqbqDB0vzn
Want results from more Discord servers?
Add your server