Skip to content

sql logger should quote query params #13

Open
@jla415

Description

@jla415

It would be nice if the sql logger would quote params in the printed queries to make it easier to copy/paste into a CLI client for closer optimization/examination.

Eg instead of:

sql SELECT ...
FROM foo
WHERE foo.name = bob
sql Found 1 matching rows

it would print:

sql SELECT ...
FROM foo
WHERE foo.name = "bob"
sql Found 1 matching rows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions