Skip to content

Replacing pg-format package #32

@manuganji

Description

@manuganji

Hi, I ran into vite compile errors when using your package. The errors originated in pg-format package. That repo appears to be unmaintained and probably not depending on that package is a better idea.

You're only using it one place.

const formatted_sql = PgFormat(this.db_call.config.text, ...args)

Maybe let's change this call to the one natively offered?

e.g. SELECT format('INSERT INTO %I VALUES(%L)', 'locations', 'C:\Program Files');

I think this change would drop support for named arguments but I think that's better than the current unusable state.

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