How to let PostgreSQL accept text as enum value

后端 未结 0 416
盖世英雄少女心
盖世英雄少女心 2020-12-11 22:35

When I have a table with an ENUM column, and I insert like this:

UPDATE table SET enum_col = \'enum_value\';

this works fine, bu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题