You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm writing a library around drizzle and would like to offer a function accepting a parameter valid for a primary key of a table. This is my approach:
I use the GetColumnData to try to extract the type but I only get unknown in doing so. This might occur because the primaryKey field is an array? Is there a nice way to do this properly?
Thanks a lot for your work!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm writing a library around drizzle and would like to offer a function accepting a parameter valid for a primary key of a table. This is my approach:
I use the
GetColumnData
to try to extract the type but I only get unknown in doing so. This might occur because theprimaryKey
field is an array? Is there a nice way to do this properly?Thanks a lot for your work!
Beta Was this translation helpful? Give feedback.
All reactions