Hello Jani, I'm not familiar with the Oracle backend, but you probably have to play with the OracleSpatialAdapter / WKTAdapter stuff to achieve what you need. Good luck!
Claude Le mardi 17 mai 2016 14:53:28 UTC+2, Jani Tiainen a écrit : > > I'm toying around Oracle and latest cx_Oracle feature that allows > putting real objects through cx_Oracle to database. One use case is GIS > which is way faster than trying to transfer WKT over queries. > > I just have one problem - how I can tell in the backend that one > particular query parameter and it's must be kept as is, and it's type > set automatically (or not to set at all on Django side). > > Currently I always end up having "Expecting MDSYS.SDO_GEOMETRY got > NCHAR" error. > > -- > > Jani Tiainen > > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/1da65293-721c-4790-ae76-b146d580d22d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.