Is there a way to retrieve the query arguments for a Prisma function by only passing the table name? Currently, I know I can obtain the table by providing the table name as a string in the following manner:
function (tablename: string) { await prisma.[tablename].findMany({here comes the args}) }
I am interested in finding out if it's possible for me to access the query arguments by simply passing the table name so that I can invoke my function like this:
function (tablename: string, args: *prismafindmanyargsforthattable*){ await prisma.[tablename].findMany({args})