RelationalDbFunctionsExtensions.JsonPathExists 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,表示指定 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 執行個體。
- json
- Object
要檢查 JSON 值。
- path
- String
要找的 JSON 路徑。