Appearance
WhereJsonPathEquals Method
Definition
- Namespace:
JASE.Database.Postgres - Assembly:
JASE.Database.Postgres.dll
Overloads
| Name | Description |
|---|---|
QueryBuilder<T> WhereJsonPathEquals(QueryBuilder<T> query, Expression<Func<T, TProp>> selector, IReadOnlyList<string> path, string value) | Filters rows where a jsonb path extracts to the given text value (->> for one segment, #>> for nested paths). |
QueryBuilder<T> WhereJsonPathEquals(QueryBuilder<T> query, Expression<Func<T, TProp>> selector, string key, string value) | Filters rows where a jsonb path extracts to the given text value (->> for one segment, #>> for nested paths). |
QueryBuilder<T> WhereJsonPathEquals(QueryBuilder<T> query, Expression<Func<T, TProp>> selector, IReadOnlyList<string> path, string value)
csharp
QueryBuilder<T> WhereJsonPathEquals(QueryBuilder<T> query, Expression<Func<T, TProp>> selector, IReadOnlyList<string> path, string value)Filters rows where a jsonb path extracts to the given text value (->> for one segment, #>> for nested paths).
Type parameters
| Name | Description |
|---|---|
T | Entity type. |
TProp | JSON property CLR type. |
Parameters
| Name | Description |
|---|---|
path | JSON path segments from the document root. |
query | Typed query builder. |
selector | JSON column selector. |
value | Expected text value of the path. |
QueryBuilder<T> WhereJsonPathEquals(QueryBuilder<T> query, Expression<Func<T, TProp>> selector, string key, string value)
csharp
QueryBuilder<T> WhereJsonPathEquals(QueryBuilder<T> query, Expression<Func<T, TProp>> selector, string key, string value)Filters rows where a jsonb path extracts to the given text value (->> for one segment, #>> for nested paths).
Type parameters
| Name | Description |
|---|---|
T | Entity type. |
TProp | JSON property CLR type. |
Parameters
| Name | Description |
|---|---|
key | Top-level JSON object key. |
query | Typed query builder. |
selector | JSON column selector. |
value | Expected text value of the path. |