10000 Polygon as unbounded tuple of tuples · cortea-ai/sqlc-gen-python@0fa045c · GitHub
[go: up one dir, main page]

Skip to content

Commit 0fa045c

Browse files
committed
Polygon as unbounded tuple of tuples
1 parent 0f09210 commit 0fa045c

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 "tuple[tuple[float, float]]"
46+
return "tuple[tuple[float, float], ...]"
4747
case "vector":
4848
return "list[float]"
4949
default:

0 commit comments

Comments
 (0)
< 2F5D svg aria-hidden="true" version="1.1" viewBox="0 0 340 84" xmlns="http://www.w3.org/2000/svg" class="Box-sc-g0xbh4-0 hqtbbn">
0