Skip to content

Commit 4605686

Browse files
committed
feat: add support for PG.OID in parameterized queries
1 parent 4da06a6 commit 4605686

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google/cloud/spanner_v1/param_types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
JSON = Type(code=TypeCode.JSON)
3434
PG_NUMERIC = Type(code=TypeCode.NUMERIC, type_annotation=TypeAnnotationCode.PG_NUMERIC)
3535
PG_JSONB = Type(code=TypeCode.JSON, type_annotation=TypeAnnotationCode.PG_JSONB)
36+
PG_OID = Type(code=TypeCode.INT64, type_annotation=TypeAnnotationCode.PG_OID)
3637

3738

3839
def Array(element_type):

0 commit comments

Comments
 (0)