I would like to do a join but get results even if it was unsucessfull.

Like this

query = (db.images.id == db.image_info.image_id)  &
(db.images.id==db.image_keyword.image_id)
& \
              (db.keyword.id==db.image_keyword.keyword_id)

I want to get the resulting rows even doe no keywords exists.
like this row.image = the image
row.image_info = the image info
row.keyword = None if there is no keyword.

Is this possible ?

/R

-- 
______________________________________________
Robert Marklund

Phone: +46 (0)46 19 36 82
Mobile: +46 (0)70 213 22 76
E-mail: robbelibob...@gmail.com
______________________________________________

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to