class yadm.join.Join(qs)

Helper for build client-side joins.

# Doc.ref is instance of ReferenceField
qs = db(Doc).find({'k': 1})  # queryset filter
join = qs.join('ref')  # create join query in this place
for doc in join:
    print(doc.ref)  # do not create query to database

Return queryset for joined objects.

index(value[, start[, stop]]) → integer -- return first index of value.

Raises ValueError if the value is not present.


Do manual join.