8000 polygon to be tuple of tuples · cortea-ai/sqlc-gen-python@0f09210 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f09210

Browse files
committed
polygon to be tuple of tuples
1 parent 9b5baec commit 0f09210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/postgresql_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func postgresType(req *plugin.GenerateRequest, conf Config, col *plugin.Column)
4343
case "ltree", "lquery", "ltxtquery":
4444
return "str"
4545
case "polygon", "path":
46-
return "list[tuple[float, float]]"
46+
return "tuple[tuple[float, float]]"
4747
case "vector":
4848
return "list[float]"
4949
default:

0 commit comments

Comments
 (0)
0