On Tuesday, March 29, 2016 at 4:43:20 PM UTC-4, Jacob Devin wrote: > > I want to make a 'search'. For example if I search Jack, it should return > all those people's datas from the db which have either first_name or > last_name with substring 'jack'. What's wrong here? >
What's wrong is that you are using .find, which appears nowhere in the documentation. You probably want .contains. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.