Title: Missing adaptation of parameters in query() and query_prepared() · Issue #28 · PyGreSQL/PyGreSQL · GitHub
Open Graph Title: Missing adaptation of parameters in query() and query_prepared() · Issue #28 · PyGreSQL/PyGreSQL
X Title: Missing adaptation of parameters in query() and query_prepared() · Issue #28 · PyGreSQL/PyGreSQL
Description: In the pgdb module and the query_formatted() and higher level methods of the pg module such as update(), input parameters are adapted automatically, e.g. converting Python lists to PostgreSQL arrays. However, the lower level query() and ...
Open Graph Description: In the pgdb module and the query_formatted() and higher level methods of the pg module such as update(), input parameters are adapted automatically, e.g. converting Python lists to PostgreSQL array...
X Description: In the pgdb module and the query_formatted() and higher level methods of the pg module such as update(), input parameters are adapted automatically, e.g. converting Python lists to PostgreSQL array...
Opengraph URL: https://github.com/PyGreSQL/PyGreSQL/issues/28
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing adaptation of parameters in query() and query_prepared()","articleBody":"In the `pgdb` module and the `query_formatted()` and higher level methods of the `pg` module such as `update()`, input parameters are adapted automatically, e.g. converting Python lists to PostgreSQL arrays. \r\n\r\nHowever, the lower level `query()` and `query_prepared()` methods of the `pg` module pass parameters in raw form. This is not well documented, and there is no help on what to do in this case. We should explain how and when to manually adapt the parameters. Maybe also provide alternative low level methods with the Postgres parameter syntax or improve the low level methods so that they automatically adapt parameters as well if that's possible without loss of performance or backward compatibility.\r\n\r\n(copied from Trac ticket 81, created 2019-06-07)","author":{"url":"https://github.com/Cito","@type":"Person","name":"Cito"},"datePublished":"2020-02-15T22:50:42Z","url":"https://github.com/PyGreSQL/PyGreSQL/issues/28"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:110edbbc-a96e-06cb-903c-eb49fae40453 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FE4:188DB:2E7C9:40B23:6B04615F |
| html-safe-nonce | c88f1c687164aa4a544f12baef206765bcc374cd565bf886fc759171c758640c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkU0OjE4OERCOjJFN0M5OjQwQjIzOjZCMDQ2MTVGIiwidmlzaXRvcl9pZCI6IjM2NzIzOTI0MDA3NTc4NzUwMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9f416b6c6bd361c865331748a583c9715f906c1c00ce78cfc3e626dfc360e923 |
| hovercard-subject-tag | issue:565820410 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PyGreSQL/PyGreSQL/28/issue_layout |
| twitter:image | https://opengraph.githubassets.com/99c8b7ee2b56c64f29b8e47fa252961a6a237a3a9d1383a985d75df963d84b02/PyGreSQL/PyGreSQL/issues/28 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/99c8b7ee2b56c64f29b8e47fa252961a6a237a3a9d1383a985d75df963d84b02/PyGreSQL/PyGreSQL/issues/28 |
| og:image:alt | In the pgdb module and the query_formatted() and higher level methods of the pg module such as update(), input parameters are adapted automatically, e.g. converting Python lists to PostgreSQL array... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Cito |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6 |
| turbo-cache-control | no-preview |
| go-import | github.com/PyGreSQL/PyGreSQL git https://github.com/PyGreSQL/PyGreSQL.git |
| octolytics-dimension-user_id | 60857770 |
| octolytics-dimension-user_login | PyGreSQL |
| octolytics-dimension-repository_id | 51212044 |
| octolytics-dimension-repository_nwo | PyGreSQL/PyGreSQL |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 51212044 |
| octolytics-dimension-repository_network_root_nwo | PyGreSQL/PyGreSQL |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 03e114520787ad27289207f153520ef97461127c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width