Hi, is there a Framework method to convert AdvancedCriteria to SQL on the client-side?
Announcement
Collapse
No announcement yet.
X
-
According to your documentation, DataSource.getAdvancedCriteriaDescription() 'returns a human-readable string describing the clauses in this advanced criteria or criterion'.
I've checked this method with this show-case: https://www.smartclient.com/smartcli...OperatorFilter
and I got these results:
1. input: DataSource.getAdvancedCriteriaDescription(countryList.initialCriteria.criteria[0],countryList.dataSource)
output: "Code contains SW"
2. input: DataSource.getAdvancedCriteriaDescription(countryList.initialCriteria.criteria[1],countryList.dataSource)
output: "Country does not contain i"
This is not what I'm looking for.
I need to convert criteria values to SQL syntax e.g: Code like '%SW%'
Comment
Comment