information method
Implementation
@override
Map<String, dynamic> information({bool extended = false, String? table}) {
var info = <String, dynamic>{};
var tables = <String>{};
if (table != null) {
tables.add(table);
}
if (extended && tables.isEmpty) {
tables = _tables.keys.toSet();
}
if (tables.isNotEmpty) {
info['tables'] = <String, dynamic>{};
}
for (var t in tables) {
var tableMap = _getTableMap(t, false);
if (tableMap != null) {
var tables = info['tables'] as Map;
tables[t] = {'ids': tableMap.keys.toList()};
}
}
return info;
}