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
I saw that for postgres, every pg type is mapped to a rust type. there's a T::compatible for me to test whether the rust type is compatible with postgres type.
It's all good, but is there a way for me to get a Rust type from a PGType and vice versa? It seems the information is already there, but I can't figure out a way to grab it. :-)
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
-
I saw that for postgres, every pg type is mapped to a rust type. there's a T::compatible for me to test whether the rust type is compatible with postgres type.
It's all good, but is there a way for me to get a Rust type from a PGType and vice versa? It seems the information is already there, but I can't figure out a way to grab it. :-)
Beta Was this translation helpful? Give feedback.
All reactions