internal virtual void Group(GremlinToSqlContext currentContext, string sideEffectKey, List <object> parameters) { GremlinGroupVariable newVariable = new GremlinGroupVariable(this, sideEffectKey, parameters); currentContext.VariableList.Add(newVariable); currentContext.TableReferences.Add(newVariable); if (sideEffectKey == null) { currentContext.SetPivotVariable(newVariable); } }
internal virtual void Group(GremlinToSqlContext currentContext, string sideEffectKey, GremlinToSqlContext groupByContext, GremlinToSqlContext projectByContext, bool isProjectingACollection) { GremlinGroupVariable newVariable = new GremlinGroupVariable(this, sideEffectKey, groupByContext, projectByContext, isProjectingACollection); currentContext.VariableList.Add(newVariable); currentContext.TableReferences.Add(newVariable); if (sideEffectKey == null) { currentContext.SetPivotVariable(newVariable); } }