• image

  • result_fields with some sorting:

    result_fields=[
            SystemFields.OBJECT_ID, 
            QueryResultField(field='Name', sort_pos=2, sort_order=SortOrder.ASC),
            QueryResultField(field='Vorname', sort_pos=3, sort_order=SortOrder.ASC),
            QueryResultField(field='Alter', sort_pos=1, sort_order=SortOrder.DESC)
            ]

    image

  • A more compact example:

    from os.path import basename
    from ecmind_blue_client.tcp_client import TcpClient as Client
    from ecmind_blue_client import QueryConditionField as QCF, QueryConditionGroup as QCG
    from os.path import basename
    
    client = Client('enaio-devel-5', 4000, basename(__file__), 'root', 'optimal', False)
    
    for folder in client.lol_query('Test', QCG('Test', QCF('Vorname', 'Ab*'))):
        print(folder)

    image

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment