SQL命令执行监视 + Pgsql表达式(Array/HStore/Jsonb)实现与测试

This commit is contained in:
28810
2018-12-28 18:25:26 +08:00
parent 3ed1213865
commit 43080a4052
18 changed files with 479 additions and 35 deletions

View File

@ -58,6 +58,9 @@ namespace FreeSql.Tests.PostgreSQL {
public void CurdAllField() {
NpgsqlConnection.GlobalTypeMapper.UseLegacyPostgis();
var sql1 = select.Where(a => a.testFieldIntArray.Contains(1)).ToSql();
var sql2 = select.Where(a => a.testFieldIntArray.Contains(1)).ToSql();
var item = new TableAllType { };
item.Id = (int)insert.AppendData(item).ExecuteIdentity();