Re: [sqlite] Pointers in 3.20.0 are great! Dreaming of better

2017-08-02 Thread Nico Williams
Another thing is that with serializers the shell could automatically serialize on output if desired. Also, the callbacks could be attached to a "type", and perhaps that way you could preserve the APIs you already added for pointer values. ___ sqlite-user

[sqlite] Pointers in 3.20.0 are great! Dreaming of better

2017-08-01 Thread Nico Williams
http://sqlite.org/bindptr.html Great stuff. This will make it possible to, e.g., have JSON functions that keep parsed JSON texts... parsed for as long as possible. The user's SQL will have to invoke an encoder function to encode parsed JSON texts back to actual text, sadly, but that's not a very