PostgreSQL 9.2 - Convert TEXT json string to type json/hstore

前端 未结 6 904
难免孤独
难免孤独 2021-01-31 07:15

I have a TEXT column containing valid JSON string.

CREATE TABLE users(settings TEXT);

INSERT INTO users VALUES (\'{\"language\":\"en\",\"gender\":\         


        
6条回答
提交回复
热议问题