MssqlSource.parts constructor
MssqlSource.parts(
- List<
String> parts, { - String? alias,
- MssqlSourceRef? ref,
A source whose parts are already separated.
MssqlSource.new parses a dotted string, which cannot represent a table
whose own name carries a dot or a space: dbo.Order Lines is not a legal
unquoted identifier, so re-parsing it would reject a table that exists.
Anything already holding the parts — a binding above all — comes through
here instead.
Implementation
MssqlSource.parts(List<String> parts, {this.alias, this.ref})
: quoted = MssqlSql.quoteMultipartIdentifier(parts),
query = null {
if (alias != null) MssqlSql.quoteIdentifier(alias!);
}