Skip to content

Quote all columns in generated inserts, updates #57

@naturalethic

Description

@naturalethic

I use camelCase for table and column names. These need to be quoted. Currently when I do something like:

    await sql`
      INSERT INTO "Address" ${sql(address)}
    `

The fields aren't being quoted.

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