From 2f4eb4a41af141c7bbb87b2f6452808f384d86f1 Mon Sep 17 00:00:00 2001 From: 2881099 <2881099@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:08:18 +0800 Subject: [PATCH] Update type-mapping.md --- docs/guide/type-mapping.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/type-mapping.md b/docs/guide/type-mapping.md index 5c3533872..45ca145d0 100644 --- a/docs/guide/type-mapping.md +++ b/docs/guide/type-mapping.md @@ -80,6 +80,8 @@ fsql.Select().Where(a => a.Options.Value1 == 100 && a.Options.Value2 == " //WHERE json_extract(a."Options",'$.Value1') = 100 AND json_extract(a."Options",'$.Value2') = 'xx' ``` +也可以使用 string 映射 JSON,拉姆达表达式内使用[自定义函数解析](expression-function.md#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A7%A3%E6%9E%90)。 + ## DateOnly/TimeOnly 目前只有 FreeSql.Provider.SqlServer/PostgreSQL/MySql/MySqlConnector/KingbaseES/Duckdb 几个包实现了映射(v3.5.100)