fix gis field case according to ignore_field_case
This commit is contained in:
1 parent
058930d42b
commit
bda101d43f
1 file changed
+2
@@ -339,6 +339,8 @@ class BaseAdapter(ConnectionPool):
|
||||
% (field_type, field_name))
|
||||
ftype = types[geotype]
|
||||
if self.dbengine == 'postgres' and geotype == 'geometry':
|
||||
if self.ignore_field_case is True:
|
||||
field_name = field_name.lower()
|
||||
# parameters: schema, srid, dimension
|
||||
dimension = 2 # GIS.dimension ???
|
||||
parms = parms.split(',')
|
||||
|
||||
Reference in new issue
Block a user