SQLEntry constructor
SQLEntry(})
Implementation
SQLEntry(this.type, this.sql,
{String? comment,
List<String>? tables,
List<String>? referenceTables,
this.columns})
: comment = comment != null && comment.isNotEmpty ? comment : null,
tables = tables ??
columns?.map((e) => e.table).whereNotNull().toSet().toList(),
referenceTables = referenceTables ??
columns
?.map((e) => e.referenceTable)
.whereNotNull()
.toSet()
.toList();