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

Add support for Postgres placeholders to Parser #6633

Closed
wants to merge 1 commit into from

Conversation

sweoggy
Copy link

@sweoggy sweoggy commented Nov 28, 2024

Q A
Type improvement
Fixed issues

Summary

This PR enables using Postgres placeholders $# with doctrine/dbal. For example the following query work after this patch:

$connection->executeStatement(
    'INSERT INTO dummy_table (some_id) VALUES ($1)',
    [1],
    [],
);

Without this patch a driver exception is thrown: Could not find parameter 1 in the SQL statement.

@sweoggy sweoggy changed the base branch from 4.2.x to 4.3.x November 28, 2024 14:32
@sweoggy sweoggy closed this Nov 28, 2024
@sweoggy
Copy link
Author

sweoggy commented Nov 28, 2024

Replaced by #6634

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.

1 participant