how do you pass a query in a typesafe way?
Let's say i want to paginate a query, so I'm going to pass a query such as this to a pagination function
And then that pagination function will add
And then that pagination function will add
.limit() and .offset() to the query. What type would I put on the function argument?