Daniel Cruz
Extract OrderBy TS Keys
Hey I have the following query
And I'm trying to create a function that accepts that query and adds and orderBy expression based in some conditions
How can I get the accepted
key
value types so I can put them in my type
declaration?11 replies
Transform Postgres array into JS array
Hey, I was wondering if there's a helper or something to transform Postgres arrays
{one, two}
into JS arrays ['one', 'two']
. Right I know the Postgres array is turned into a string when executing queries25 replies