json - Postgresql's json_each()/jsonb_each() equivalent in MySQL 5.7.*? -
is there json_each()/jsonb_each() equivalent in mysql 5.7.*?
according article found: "not supported, cannot implemented using udfs only".
i want port following view mysql, not see function available allow me convert what's in json table rows. functions found can used in projection (like json_keys, json_extract, etc.) , not in join part.
create or replace view v_team_result select my_column1 a, j.key::integer b, to_json(j.value->'c')::text::bigint c, to_json(j.value->'d')::text::bigint d my_table, jsonb_each(my_json_column) j; if there nothing available, how can implemented?
Comments
Post a Comment