Like telling the user or the browser that this column is JSON, not mere TEXT; or is Date, not mere INTEGER.
I can create a special table called __meta__
, but I am not sure that is the best idea.
Like telling the user or the browser that this column is JSON, not mere TEXT; or is Date, not mere INTEGER.
I can create a special table called __meta__
, but I am not sure that is the best idea.
For further actions, you may consider blocking this person and/or reporting abuse
Alex Merced -
Franck Pachot -
Dendi Handian -
Mark Yu -
Top comments (6)
If you want to add just the semantic context with a minimum of further complications, Hungarian-style naming conventions are a slightly verbose but low-impact solution: manifest_json, date_created, is_active.
I ended up with
date_
,set_
,dict_
prefixes.is_
is also a nice prefix, but I thinkjson_
prefixes in SQLite should avoided due to JSON1 extension functions also starts withjson_
.and, how to use
Got any examples of meta data you want to store? What's wrong with having another table?
I ended up with
date_
,set_
,dict_
prefixes.and, how to use
Nothing wrong, but I want to know the standard of notifying that,
Really depends on the data. I've not had a use case yet for JSON type