Unioning an array of sql`{SQL_QUERY}`
Hey chaps, I'm doing some really heinous shit with triggers etc (hence why I'm not using Kysely's default query builder syntax). I have an array of SQL queries that I'd like to
UNION ALL
together - any idea how best to do that? Note - the length of the query array is dynamic - Thanks!!3 Replies
do I use Array.reduce?
I suppose that would work
thanks mate!