4 ms·
Is there any way to make custom types using pgx?
by tcyrus 6y ago
Is there any way to make custom types using pgx?
- zombodb 6y agoYes there is. It's not documented/example'd yet tho. There's a derive macro called #[derive(PostgresType)]. Combine that with serde's Serialize, Deserialize, and you're gtg. I'm going to be working on more docs and twitch streams over this week.