語言

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 路徑。

傳回

適用於