mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 19:27:49 +00:00
Fix error if data type is None
This commit is contained in:
@@ -394,6 +394,9 @@ AS $geojson_py$
|
|||||||
import json
|
import json
|
||||||
parsed = json.loads(original)
|
parsed = json.loads(original)
|
||||||
output = []
|
output = []
|
||||||
|
#plpy.notice(parsed)
|
||||||
|
# [None, None]
|
||||||
|
if None not in parsed:
|
||||||
for idx, x in enumerate(parsed):
|
for idx, x in enumerate(parsed):
|
||||||
#plpy.notice(idx, x)
|
#plpy.notice(idx, x)
|
||||||
for feature in x:
|
for feature in x:
|
||||||
|
Reference in New Issue
Block a user