From a6321832f6e76ff69c1de8d0cc7f8fa459aa90bb Mon Sep 17 00:00:00 2001 From: 28810 <28810@YEXIANGQIN> Date: Thu, 19 Mar 2020 21:26:50 +0800 Subject: [PATCH] update --- 更新日志.md | 2 ++ 表达式函数.md | 1 + 2 files changed, 3 insertions(+) diff --git a/更新日志.md b/更新日志.md index e00152f..a736a47 100644 --- a/更新日志.md +++ b/更新日志.md @@ -12,6 +12,8 @@ - 增加 ISelect.RawJoin 方法以便实现 Outer Apply 查询;#200 - 增加 ISelect.ToTreeList 扩展方法查询数据,加工为树型 List;(注意:实体需要配置父子导航属性) - 优化 TableInfo 元数据对 interface 实现类 IsVirtual 重写的判断(增加 IsFinal == false); +- 增加 Pgsql JToken/JObject/JArray 索引访问的表达式解析; +- 增加 object.Equals 表达式解析; ## v1.2.1 diff --git a/表达式函数.md b/表达式函数.md index be7673e..5144eba 100644 --- a/表达式函数.md +++ b/表达式函数.md @@ -220,6 +220,7 @@ public static class DbFunc | a.ContainsKey(b) | - | - | coalesce(a, '{}') ? b | - | json中是否包含键b | | a.Concat(b) | - | - | coalesce(a, '{}') || b::jsonb | - | 连接两个json | | Parse(a) | - | - | a::jsonb | - | 转化字符串为json类型 | +| a.Field["x"] | - | - | a.Field->x | - | json成员访问 | ### 字符串 | 表达式 | MySql | SqlServer | PostgreSQL | Oracle | Sqlite |