Bruno's Notes
    首頁關於我Study4.TWFacebookGithub

  • 系列文章

    • git
    • vue
    • nuxt
    • vite
    • devops
    • study4
    • dotnetconf
    • aws
    • frontend
    • next.js
    • react
    • i18n
    • gatsby.js
    • postgresql
    • database
    • dotnet
    • prevision
    • iot
    • platformio
    • arduino
    • esp
    • elk
    • azure
    • vulnerability
    • ssl
    • vmss
    • cd
    • selenium
    • tdd
    • jest
    • layout
    • ec2
    • iac
    • terraform
    • ci
    • jenkins
    • ecs
    • ansible
    • redis
    • protobuf
    • serialize
    • deserialize
    • pub
    • sub
    • notify
background image
Sep 30 2022

透過Dapper存取Postgresql Json column 自動反序列化

有時候一個物件我會把它序列化後使用JSON的方式存放到postgresql中,但把它取出後卻無法透過ORM直接做資料的對應,然後自己就土炮了做法, 把資料撈出後在針對欄位去反序列化,這樣做一開始覺得好像沒什麼,但這樣的資料變多了以後發現問體頗大,所以上網找了一些解決方案, 但關鍵字嚇得不好反而找到許多更奇怪的做法後來在stackoverflow上看到了這招真心覺得很棒的方法,於是筆記下來!

  • Bruno JanBruno Jan
  • Comments

    Read more