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.
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.