主页
22xCode
博客
备忘
Bug
分享
life
sql
PostgreSQL bytea与字符串互转
假如name是bytea类型的字段新增时INSERT INTO users (name) VALUES ('zhangsan'::bytea)查询时SELECT CONVERT_FROM(name, 'UTF-8') AS name FROM users
2024-11-04