PgMaybeStringColumn<TableType> class
Represents a column that can be null of type String in a table.
It handles the conversion from and to JSON for you.
Constructors
- PgMaybeStringColumn(String name)
- Represents a column that can be null of type String in a table.
Properties
- filterPattern → String
-
The filter pattern to use when filtering with this column.
finalinherited
- fromJson → String? Function(String? jsonValue)
-
The function used to convert a JSON value to a
ValueType.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the column in the postgres table.
finalinherited
- queryPattern → String
-
The query pattern to use when querying for this column.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toJson → String? Function(String? value)
-
The function used to convert a
ValueTypeto a JSON value.finalinherited
Methods
-
call(
String? value) → PgValue< TableType, String?, String?> -
Creates a PgValue from the provided
valueof the typeValueType.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited