[editor] Include column aliases in possible suggestions for the syntax checker
// Append table aliases
for (var i = 0; i < allLocations.length; i++) {
var location = allLocations[i];
- if (location.type === 'alias' && (location.source === 'table' || location.source === 'subquery')) {
+ if (location.type === 'alias' && (location.source === 'table' || location.source === 'subquery' || location.source === 'column')) {
possibleValues.push({ name: location.alias.toLowerCase() });
}
}
