def post(self):
selector = self.request.get('search')
search = db.GqlQuery("SELECT * FROM Product WHERE productName = :selector", selector=selector)
products = search.fetch(10)
values = {
'products' : products
}
doRender(self, 'search.html', values)
above code is for search function from my Product category... Actually i tried to use the code "Select * From Product Where productName like %:selector%" for my search function, but i couldn't use this code.... Is there anyother GQL code which is substitution of 'SQL-LIKE query'??