Skip to content

Printing full SQL queries with parameters in debug mode #5026

@esistgut

Description

@esistgut

I am initializing prisma with {debug: true, log: ['info', 'query'],} and this is printing SQL queries without actual parameters, just ? to mask them.
Wouldn't it be useful to print the whole thing?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions