0
postgres db에 저장 한 json의 구조는 다음과 같습니다.Psql json 배열 쿼리
{
"student_id": "123",
"name": "foo",
"emails":[
{
"id": "777",
"domain": "gmail.com"
},
{
"id": "888",
"domain": "gmail.com"
}
]
}
행 2 : 나는 모든 이메일 도메인이 'gmail.com'을
ROW1 인 행을 인출 할 필요가
{
"student_ id": "345",
"name": "booo",
"emails":[
{
"id": "444",
"domain": "gmail.com"
},
{
"id": "555",
"domain": "yahoo.com"
}
]
}
이 경우를, 나의 결과는해야한다 student_id 123의 학생, 즉 행 1. 도와주세요.