Using JSON in Postgres #code #data #tips

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Sounds like some interesting syntaktikal sugar. Does it work in WHERE and HAVING clauses?

HarmonicaTool
Автор

cool! how to make from
""params"": [
{
""key"": ""type"",
""value"": ""example"",
""checked"": true
},
{
""key"": ""lang"",
""value"": ""en"",
""checked"": true
}
]
to
{
""type"": ""example"", (key : value) from above json
""lang"": ""en"", (key : value) from above json
}
? thanks

ocramj