Is there a way to modify generated queries in a mi...
# orm-help
w
Is there a way to modify generated queries in a middleware or something? Use case is I am using an older version of SQL Server that doesn’t support
OFFSET x ROWS
. I don’t need it so I just want to delete this part.
1
a
Hey there! It’s not currently possible to do so. You would need to use
queryRaw
to customize the exact SQL that is sent to the database.
w
That’s what I was afraid of, thanks!