尝试dapper和postgresql

大多数地方和其他数据库(MySQL)没有什么不同。只有几点要注意:

1.PostgreSQL表名和字段是区分大小写的,大小写不对会说字段不存在

2.插入Json数据时,要在字符串后面加上::json

比如insert into temp (a) values('{"some":"data"}'::json)

猜你喜欢

转载自www.cnblogs.com/easyc/p/try_dapper_postgresql.html