语言

RelationalDbFunctionsExtensions.JsonPathExists 方法

定义

返回一个值,该值指示指定 JSON 中是否存在给定的 JSON 路径。

public static bool JsonPathExists(this Microsoft.EntityFrameworkCore.DbFunctions _, object json, string path);
static member JsonPathExists : Microsoft.EntityFrameworkCore.DbFunctions * obj * string -> bool
<Extension()>
Public Function JsonPathExists (_ As DbFunctions, json As Object, path As String) As Boolean

参数

_
DbFunctions

DbFunctions 实例。

json
Object

要检查的 JSON 值。

path
String

要查找的 JSON 路径。

返回

适用于