0

I have a postgres database table named booking, which has a column summary of type text and the value is a json. I want to fetch all the rows in which the json key such as name has an apostrophe '

Such as (Magyl's Travels) in the sample below

"{
    'description' : 'Annual fees', 
    'name' : 'Business Name Magyl's Travels', 
    'amount' : 5000
},{
    'description' : 'Registration fees', 
    'name' : 'Business Name Magyl's Travels',
    'amount' : 15000
}"
Yannick Huber
  • 619
  • 2
  • 21
  • 35
user6781731
  • 13
  • 1
  • 4

0 Answers0