Skip to content

Refactor SQLStatement construction to use the new style #48

@rsslldnphy

Description

@rsslldnphy

We can now write SQLFragments like this:

const clause = sql`%I = ${3}`.withIdentifiers("bar");
const query = sql`SELECT * FROM %I WHERE ${clause}`.withIdentifiers("foo");

We need to refactor the messy old-style code to use this new approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions