converter/base_converter
library
Classes
-
BaseConverter<FROM, TO>
-
Base class for defining a new type converter.
This class is only for define built-in type support.
Users also can define their desired converter by TypeConverter
annotation.
You have to convert types that don't support in sqlite internally
like bool, double, DateTime and etc.
TO
must be a type that is supported by sqlite like int, String and etc.
After implement class, you have to add your converter in
_builtInSupportSqliteType
and _builtInSupportConverters
variables
in PredefinedConvertersHelper class.
Example: