Re: Cross-DB JSONField ready for review

2019-09-18 Thread Sage M.A.
Hi Ole and Matt, Sorry for getting back so late. I agree that having such a function would be very useful. I believe it can be done with most of the current implementation because I actually needed to compile the JSON path string from the KeyTransforms (except for PostgreSQL that uses a differe

Re: Cross-DB JSONField ready for review

2019-09-12 Thread schinckel
Hi Ole, I'm interested in what you are trying to do with JSONExtract. I have a subclass of Func called JSONBExtractPathText that I use with great success to extract parts of a JSONB object. Also, as of Django 3.0, you can filter directly on an expression (that has an output_field of BooleanFie

Re: Cross-DB JSONField ready for review

2019-09-12 Thread Ole Laursen
fredag den 2. august 2019 kl. 13.46.46 UTC+2 skrev Sage M.A.: > > As a follow-up to this message > > and this ticket , I have > completed the implementation of a cross-

Re: Cross-DB JSONField ready for review

2019-08-02 Thread Carlton Gibson
Hi Sage. Perhaps draft it in a howto and we can have a look once itโ€™s in play. C. On Sat, 3 Aug 2019 at 03:23, Sage M.A. wrote: > Adam, that's what I thought at first. However, I don't know which section > it should go under. Writing it on Model fields docs doesn't seem right. > Maybe in a howto

Re: Cross-DB JSONField ready for review

2019-08-02 Thread Sage M.A.
Adam, that's what I thought at first. However, I don't know which section it should go under. Writing it on Model fields docs doesn't seem right. Maybe in a howto? On Saturday, 3 August 2019 01:23:25 UTC+7, Adam Johnson wrote: > > Sage, I think that should go in the main docs, in the docs/ folde

Re: Cross-DB JSONField ready for review

2019-08-02 Thread Adam Johnson
Sage, I think that should go in the main docs, in the docs/ folder in the repo, no? On Fri, 2 Aug 2019 at 18:09, Sage M.A. wrote: > Hi Carlton, > > Thanks! I hope it can be merged soon :D > > Oh, and by the way, where should I write a setup guide for SQLite+JSON1? I > don't know where and how to

Re: Cross-DB JSONField ready for review

2019-08-02 Thread Sage M.A.
Hi Carlton, Thanks! I hope it can be merged soon :D Oh, and by the way, where should I write a setup guide for SQLite+JSON1? I don't know where and how to put it in the docs. By linking to a page in Django wiki, perhaps? Regards, Sage On Friday, 2 August 2019 22:08:17 UTC+7, Carlton Gibson w

Re: Cross-DB JSONField ready for review

2019-08-02 Thread Carlton Gibson
Hey Sage, Super stuff! Well done on your effort so far. (I can't say how excited I am about this feature. ๐Ÿ’ƒ) Kind Regards, Carlton On Friday, 2 August 2019 13:46:46 UTC+2, Sage M.A. wrote: > > Hello, everyone. > > As a follow-up to this message >

Cross-DB JSONField ready for review

2019-08-02 Thread Sage M.A.
Hello, everyone. As a follow-up to this message and this ticket , I have completed the implementation of a cross-DB JSONField. I have submitted a PR