Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. query= (db.mytable.ref_other_table==other_table_id)
  2. rows=db(query).select()
  3.  
  4. ix=0
  5. while rows[ix].id != id:
  6. ix+=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement