I have a function which takes a list of prefixes the data from a select can 
start with. The list is of unknown size. I found that the contains function 
(db.mytable.myfield.contains('value')) can take a list instead of 'value'. 
When I try this with the startswith function (
db.mytable.myfield.contains('value')) I get an error. Is there any way I 
can get similar behaviour to contains but with startswith without moding 
web2py?

Best regards,
Joel

-- 



Reply via email to