Oracle GIS backend - no bulk_create?

13 views
Skip to first unread message

Robert Martin

unread,
Jul 2, 2015, 10:44:26 PM7/2/15
to django...@googlegroups.com
Hi all,

I've been trying to do a bulk_create using the Oracle GIS backend (Django 1.8.2) and getting an AssertionError:

  File "C:\Users\robert.martin\Envs\ais\lib\site-packages\django\contrib\gis\db\backends\oracle\operations.py", line 248, in modify_insert_params
   
assert len(placeholders) == 1
AssertionError


In the code there's a comment: "This code doesn't work for bulk insert cases." Does anyone know of a workaround for this? I'm working with several large datasets and performance has been extremely slow.

Thanks for any advice!
Reply all
Reply to author
Forward
0 new messages