Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgres_query query parameters #251

Open
VGSML opened this issue Aug 29, 2024 · 0 comments
Open

postgres_query query parameters #251

VGSML opened this issue Aug 29, 2024 · 0 comments

Comments

@VGSML
Copy link

VGSML commented Aug 29, 2024

Nice to have possibilities to pass parameters through duckdb direct to the complex posgres query like

with pgdata as (
     select * from postgres_query(pg, $$select * from some_pg_table where some_pg_column = 1 $$, $1)
)
select *
from some_duckdb_table
           inner join pgdata on some_duckdb_table.duckdb_id = pgdata.pg_id

It will make duckdb more useful in production use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant