JsonPathColumn<T> class
Represents a virtual column extracted from a JSON structure using a specific path.
This does not define a physical column but generates a json_extract expression
to query nested data within rootColumn.
Constructors
- JsonPathColumn(String rootColumn, String path)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGuarded → bool
-
Prevents this column from being mass-assigned during inserts/updates.
This isGuarded is ignored on pivot column.
finalinherited
- isNullable → bool
-
finalinherited
- name → String?
-
finalinherited
- path → String
-
final
- rootColumn → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaType → String
-
The underlying SQL data type definition.
no setteroverride
Methods
-
contains(
String value) → WhereCondition -
equals(
T value) → WhereCondition -
inherited
-
greaterThan(
num value) → WhereCondition -
greaterThanOrEqual(
num value) → WhereCondition -
index<
R> (int i) → JsonPathColumn< R> - Chains an array index selection to the current JSON extraction path.
-
inList(
List< T> values) → WhereCondition -
inherited
-
isNotNull(
) → WhereCondition -
inherited
-
isNull(
) → WhereCondition -
inherited
-
key<
R> (String subPath) → JsonPathColumn< R> - Chains a sub-path to the current JSON extraction path.
-
lessThan(
num value) → WhereCondition -
lessThanOrEqual(
num value) → WhereCondition -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
T value) → WhereCondition -
inherited
-
notInList(
List< T> values) → WhereCondition -
inherited
-
toString(
) → String -
Generates the SQL expression to extract the value at path.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited