def get_child_ids(cur, node):
    sql = """
        SELECT
          id
        FROM
          nodes
        WHERE
          parent=%s
        ORDER BY
          position;
    """
    cur.execute(sql, (int(node), ))
    for result in cur:
        yield int(result['id'])
Set the text of this object.
dataset/ETHPy150Open conceptsandtraining/libtree/libtree/core/query.py/get_child_ids--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuItem.setText