mapToSimpleValue method
Maps value to something that should be understood by the underlying database engine. For instance, a DateTime will me mapped to its unix timestamp.
Implementation
dynamic mapToSimpleValue(GenerationContext context) {
return context.typeSystem.mapToVariable(value);
}