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've been looking through the sqlx source code and can see that there is a PgRecordDecoder that seems to handle any type, but the PgRecordEncoder is specific to PgArgumentBuffer.
Is there any code, or can someone help guide me, as to how to create an encoder for a RowDescription and DataRow? I would like to modify a DataRow after it comes back from the db and then send it to client caller.
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've been looking through the sqlx source code and can see that there is a PgRecordDecoder that seems to handle any type, but the PgRecordEncoder is specific to PgArgumentBuffer.
Is there any code, or can someone help guide me, as to how to create an encoder for a RowDescription and DataRow? I would like to modify a DataRow after it comes back from the db and then send it to client caller.
Beta Was this translation helpful? Give feedback.
All reactions