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

docs: Add example for running prql code directly in PostgreSQL without cursor #4162

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

kaspermarstal
Copy link
Contributor

This PR adds an example to the PostgreSQL extension docs for running PRQL code directly without the use of curser. The new function in the extension returns setof record. We previously discussed this issue in #725. The solution was to declare the record's type using e.g. as (name text, age int).

kaspermarstal and others added 2 commits February 2, 2024 21:12
Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
@max-sixty max-sixty merged commit 864c662 into PRQL:main Feb 2, 2024
37 checks passed
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

Successfully merging this pull request may close these issues.

2 participants