core/boxer_table_translator library

Enums

BatchSyncType
In terms of intuitive efficiency, BATCH is the best, BATCH > TRANSACTION > LOCK

Typedefs

ModelIdentifyFields<T> = Map<String, dynamic> Function(T e)
ModelTranslatorFromJson<T> = T Function(Map e)
ModelTranslatorToJson<T> = Map Function(T e)
function toJson/fromJson/id_fields for Model class
QueryTranslator<T> = T Function(Map<String, Object?> e)
query translator for translate the table struct columns Map value to item we needed
WriteTranslator<T> = Map<String, Object?> Function(T e, Map<String, Object?>? s)
insert or update, translate to item that mapping the table struct columns Map