vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
149 stars 53 forks source link

When saving empty object into DB its causing PostgreSQL to fail #87

Closed hjuraev closed 4 years ago

hjuraev commented 6 years ago

[psql] [2018-07-27 13:21:53 +0000] INSERT INTO "chat_users" () VALUES () RETURNING * [] [ERR] ⚠️ [PostgreSQLError.server.error.scanner_yyerror: syntax error at or near ")"] 2018-07-27 09:21:53.865829-0400 Run[60108:4955773] ⚠️ [PostgreSQLError.server.error.scanner_yyerror: syntax error at or near ")"]