development_postgress #11

Merged
lee merged 11 commits from development_postgress into main 2025-07-31 13:32:49 +00:00
Showing only changes of commit 8544e3ba3f - Show all commits

View File

@ -208,9 +208,6 @@ where
fn set(&self, value: &M) -> Result<(u32, M), super::Error<Self::Error>> {
let mut con = self.pool.get().map_err(Error::from)?;
// let ser_val = serde_json::to_string(&value).map_err(Error::from)?;
let ser_val = jsonb::to_owned_jsonb(&value).map_err(Error::from)?;
if value.get_id() == 0 {
// NOTE: We perform a query here since we want the returned value which has the updated ID
let Some(row) = con