getStoredDefinition method
- @protected
Returns the overall scheme version currently stored in the database.
Implementation
@protected
StdMap getStoredDefinition() {
var sql =
"SELECT json($columnValue) FROM $tableScheme "
"WHERE $columnKeyId == '$keyDefinition'";
Row? row = _database!.select(sql).singleOrNull;
return (jsonDecode(row?.columnAt(0) as String? ?? "{}") as Object?)
.xAs<StdMap>();
}