ValueExpression.get_component()

Returns the value expression's i-th component

get_component(i: int) -> Union[Value, NoneObject]

Query Example

from glider import *


def query():
    instructions = (
        Instructions()
        .exec(1,1)
    )
    for instruction in instructions:
        print(instruction.get_value().get_component(0))
        print(instruction.get_value().get_component(0).expression)
    return instructions

Output Example

Last updated