FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add support for PG.OID in parameterized queries by larkee · Pull Request #1035 · googleapis/python-spanner · GitHub

This repository was archived by the owner on Jun 8, 2026. It is now read-only.
/ python-spanner Public archive

feat: add support for PG.OID in parameterized queries - #1035

Merged
larkee merged 5 commits into
googleapis:mainfrom
larkee:pg-oid-support
Apr 8, 2024
Merged

feat: add support for PG.OID in parameterized queries#1035
larkee merged 5 commits into
googleapis:mainfrom
larkee:pg-oid-support

Conversation

larkee commented Nov 13, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

This PR adds support for using PG.OID values in parameterized SELECT queries.

For example:

with database.snapshot() as snapshot:
  results = snapshot.execute_sql(
    "SELECT $1",
    params = {"p1": 123},
    param_types = {"p1": spanner.param_types.PG_OID})
    for row in results:
      print(row)

larkee requested review from a team November 13, 2023 23:50
product-auto-label Bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/python-spanner API. labels Nov 13, 2023
larkee merged commit ea5efe4 into googleapis:main Apr 8, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/python-spanner API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL