JsonColumn class
A physical column storing arbitrary JSON data. Acts as a factory for JsonPathColumn to query internal fields.
Constructors
- JsonColumn(String? name, {bool isNullable = false, bool isGuarded = false})
-
const
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaType → String
-
The underlying SQL data type definition.
no setteroverride
Methods
-
containsPattern(
String value) → WhereCondition -
equals(
dynamic value) → WhereCondition -
inherited
-
inList(
List values) → WhereCondition -
inherited
-
isNotNull(
) → WhereCondition -
inherited
-
isNull(
) → WhereCondition -
inherited
-
key<
T> (String path) → JsonPathColumn< T> - Creates a virtual column pointing to a specific key within this JSON object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
dynamic value) → WhereCondition -
inherited
-
notInList(
List values) → WhereCondition -
inherited
-
toString(
) → String -
Returns the raw column name or expression used in query generation.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited