Esempio n. 1
0
def proceed(processable, mapping):
    scope = _Scope(_QueryPlan())
    processor = processable.__processor__(scope)
    columns = scope.query_plan.query_columns(None)
    result = {0: [mapping[col] for col in columns]}
    return processor(result)
Esempio n. 2
0
def proceed(processable, mapping):
    scope = _Scope(_QueryPlan())
    processor = processable.__processor__(scope)
    columns = scope.query_plan.query_columns(None)
    result = {0: [mapping[col] for col in columns]}
    return processor(result)
Esempio n. 3
0
def columns_set(processable):
    scope = _Scope(_QueryPlan())
    processable.__processor__(scope)
    return set(scope.query_plan.query_columns(None))
Esempio n. 4
0
def columns_set(processable):
    scope = _Scope(_QueryPlan())
    processable.__processor__(scope)
    return set(scope.query_plan.query_columns(None))