I want to use sql queries in CustomerPortal class controllers. I wrote following code:
request.cr.execute("""my query""")
result = request.cr.fetchall()
but I get the following error:AttributeError: 'CustomerPortal (extended by PortalAccount, Custome' object has no attribute 'cr'a
what should I do?