Skip to content

SQL logger record complete statement #494

Answered by butschster
hiscaler asked this question in Q&A
Discussion options

You must be logged in to vote

hey. It can be done using your driver config

new Config\PostgresDriverConfig(
            connection: new Config\Postgres\TcpConnectionConfig(
                ...
            ),
            options: [
                'logQueryParameters' => true, // <====
                'logInterpolatedQueries' => true,// <====
            ],
        )

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hiscaler
Comment options

Answer selected by butschster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants