Is there any guarantee that JSONB keep the order of json properties in which they were inserted?
Update: In Docs, I found it sort json keys for efficiency.
What should i do if i gonna a key always be the first one?
Is there any guarantee that JSONB keep the order of json properties in which they were inserted?
Update: In Docs, I found it sort json keys for efficiency.
What should i do if i gonna a key always be the first one?
What should i do if i gonna a key always be the first one?
The option is to use json
field in YSQL which only does validation on insert.
While on YCQL, you have to use TEXT
column and do the conversion manually.