Hi, I have a table A(rec_id, JSON-of-record) and I create a view like this:

CREATE VIEW json AS SELECT rec_id, json_extract(json_value,'$.col-1') as col1, 
json_extract(json_value,'$.col-2') as col2, ... , 
json_extract(json_value,'$.col-50') as col50 FROM a


All SELECT requests will then run against the view.

This view works and of course takes some time to build. Can the JSON1 extension 
be supported by adding indices or whatever, that speeds-up the VIEW 
construction/updates?

Viele Grüsse.

-- 

Robert M. Münch, CEO
M: +41 79 65 11 49 6

Saphirion AG
smarter | better | faster

http://www.saphirion.com
http://www.nlpp.ch

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to