Open Iskren1990 opened 3 years ago
Hey @Iskren1990
If I'm understanding when you quote the text string does it work?
await connection.transaction((ctx) async { await ctx.query("INSERT INTO table (message) VALUES ('server@localhost:5432/ep')"); });
Use case
await connection.transaction((ctx) async { await ctx.query("INSERT INTO table (message) VALUES (server@localhost:5432/ep)"); });
Should be valid. Instead it throws substitute value error, while we do not need substitution. Suggestion, in case no substitution values are provided use the provided string.