DatabaseColumnRealBase<T> class abstract

Declaring column who contain blob value, must to be const

Inheritance
Implementers
Annotations
  • @immutable

Constructors

DatabaseColumnRealBase(String name, {String constraints = 'NOT NULL', bool unique = false, bool indexed = false})
const

Properties

columnDefinition String
Column definition for sqlite3
no setterinherited
constraints String
Constraints of that column
finalinherited
hashCode int
The hash code for this object.
no setterinherited
indexed bool
Needs to create index for this column
finalinherited
name String
Column name
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Declared type of column
finalinherited
unique bool
Unique values in column
finalinherited

Methods

binRead(BinaryReader reader) double
Read raw database value from reader
override
binWrite(double value, BinaryWriter writer) → void
Wrtie raw database value to writer
override
dartDecode(T value) double
Converting T dart object to raw database value
inherited
dartEncode(double value) → T
Converting raw database value to T dart object
inherited
databaseLoadMutator(double? value) double
Mutate db value after select to raw value
override
databaseSaveMutator(double value) double?
Mutate raw value to db before insert it to database
override
jsonDecode(Object? value) double
Converting json to raw database value
override
jsonEncode(double value) Object?
Converting raw database value to json
override
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