parameters: ()
return_statement: return dict(rows=rows)
docstring: example action using the internationalization operator T and flash
      rendered by views/default/index.html or views/generic.html
docstring_summary: example action using the internationalization operator T and flash
      rendered by views/default/index.html or views/generic.html
docstring_tokens: example action using the internationalization operator T and flash rendered by views / default / index . html or views / generic . html
function: def index():
      """
      example action using the internationalization operator T and flash
      rendered by views/default/index.html or views/generic.html
      """
      if auth.user_id==1:
          rows = db(db.code).select(orderby=db.code.title)
      else:
          rows = db(db.code.created_by.belongs((auth.user_id,1))).select(orderby=db.code.title)
      return dict(rows=rows)
function_tokens: def index ( ) : if auth . user_id == 1 : rows = db ( db . code ) . select ( orderby = db . code . title ) else : rows = db ( db . code . created_by . belongs ( ( auth . user_id , 1 ) ) ) . select ( orderby = db . code . title ) return dict ( rows = rows )