Skip to main content

Function: diffBadge()

function diffBadge(t): string;

Badge of a changed table: "+<added columns> −<removed columns> ~<other changes>", where the last part counts changed columns plus table-level changes (rename, note, header colour, alias, group) and index / check entries. Zero parts are left out; '' when nothing counts.

Parameters​

t​

TableDiff

Returns​

string