public LogicSetExpression newTableExpression(QueryExpression qs, DatastoreContainerObject table, DatastoreIdentifier rangeVar)
{
// there is no real reason, why only on or after version 8, but the version I'm testing against
if (datastoreMajorVersion >= 8)
{
return new TableExprAsJoins(qs, table, rangeVar);
}
else
{
return new TableExprAsSubquery(qs, table, rangeVar);
}