Python - base.filter - Sorting

Hi

Currently I am doing some transformation with Python script. Unfortunately I am not able to sort the records as I need it. This is the way I get the record set:

dflow_queryset = base.filter('D.Flow', "IF-ID='" + ifId + "'", 'xsorted')

I’m using a view “xsorted” where the data is sorted as needed, but is seems that the sorting is not considered.
Is there any way to fix this.

Thank you

You can use base.query() API, which support SQL standard.

Hi Daniel

Got it, thank you! This means sorting in base.filter() is not possible I suppose.

I will change it to base.query()

Regards

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.