Hi, I ran into vite compile errors when using your package. The errors originated in pg-format package. That repo appears to be unmaintained and probably not depending on that package is a better idea.
You're only using it one place.
|
const formatted_sql = PgFormat(this.db_call.config.text, ...args) |
Maybe let's change this call to the one natively offered?
e.g. SELECT format('INSERT INTO %I VALUES(%L)', 'locations', 'C:\Program Files');
I think this change would drop support for named arguments but I think that's better than the current unusable state.
Hi, I ran into
vitecompile errors when using your package. The errors originated inpg-formatpackage. That repo appears to be unmaintained and probably not depending on that package is a better idea.You're only using it one place.
tinypg/src/tiny.ts
Line 523 in cbc755d
Maybe let's change this call to the one natively offered?
e.g.
SELECT format('INSERT INTO %I VALUES(%L)', 'locations', 'C:\Program Files');I think this change would drop support for named arguments but I think that's better than the current unusable state.