我想在pg-promise查询中动态选择表。以下代码不起作用,如有任何帮助,敬请指教!我得到的错误消息是: error: error: syntax error at or near 我不确定是否应该使用帮助器,如以下链接所述:https://vitaly-t.github.io/pg-promise
我使用nodejs编程,并使用pg-promise将我的JSON文件动态存储到postgres 9.4.11数据库中(我不允许升级数据库)。1.字段2.列3.表Pg-promise在我这样做的时候可以完美地工作:
//-- connection details would be up here const db = pgp (conn);