tuomur / python-odata

A simple library for read/write access to OData services
MIT License
79 stars 59 forks source link

Support for trim string filter #48

Open tpow opened 4 years ago

tpow commented 4 years ago

I thought this might be helpful for others (and to remind me to create a PR):

OData v4 has a trim string function. I believe this can be implemented in property.py like this:

def trim(self):
    return u'trim({0})'.format(self.name)