Skip to content

Commit d1a5b38

Browse files
Merge pull request #31 from geoCML/case-sensitive-fields
Preserve capitalization on field names
2 parents 930eff9 + 2e67fb8 commit d1a5b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tabor_field.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def __init__(self, name: str, type: str, udt_name: str, pk: bool) -> None:
1212

1313

1414
def as_psql(self) -> str:
15-
return f"{self.name} {self.type}"
15+
return f"\"{self.name}\" {self.type}"
1616

1717

1818
def as_dict(self) -> dict:

0 commit comments

Comments
 (0)