Skip to content

How safe is this/other solutions #8

@lastmjs

Description

@lastmjs

Hey! I'm looking to use template strings to create SQL queries. We're implementing GraphQL resolvers that have a lot of generic SQL string creation. Using template strings really helps keep things declarative, and we can't use prepared statements because we're in a serverless environment and want to keep proxy pool options open (transaction pooling does not work with prepared statements).

Anyway, how safe is this library to use? Are there any alternatives that work similarly? I'm having trouble finding any library that is battle-tested and allows arbitrary template string creation without converting to prepared statements. We need raw sql strings to pass to the database driver.

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