我正在使用sails.js和PostgreSQL开发一个应用程序(使用sails-postgresql模块)。我使用UUID作为主键类型,而不是整数。/lib/adapter.js:393:16)
at after (/home/***/***/***/node_modules/sails-postgresql/lib/adap
我在我的应用程序中使用了MongoDB,现在我需要连接到Postgresql来获取其他数据。但是,在我为Postgresql添加连接和模型之后,在使用sails lift启动应用程序时出现了一个错误。error at or near "SELEC"
at Connection.parseE (/Users/xx/Documents/xx/Code/services/node_modules/sails-
我正在尝试创建两个模型之间的多对多关联,Operator和Group。- postgresql/node_modules/pg.js/lib/connection.js:534:11)
at Connection.parseMessage (/home/valentina/workspace/xtens-app/node_modules/sails-postgresql/
我正在构建一个连接到PostgreSQL数据库的新Sails.js应用程序。在我使用sails generate model products创建新模型之前,这个应用程序一直运行得很好。If you're using Sails, this is generally located in `config/datastores.js`, or wherever your environment-specificP) by the number of Sails<