Hi Marlysson, thanks for your answer, yes maybe I must be more concise.

In a clasic identifyng relationship, lets say a relation author-book-page (author has books and books has pages) In this case, the book primary key includes the author id, and the page primary key includes the book primary key (author and book ids).

One of the advantages of the identifyng relationship model is that I can known what book belongs page without need a join, that can be useful when we have a deep relation tree.

Greetings.

El 05/07/16 a las 07:07, Marlysson Silva escribió:
I don't understood your doubt. Are you talking about foreign key?
There are models ( in examples in tutorials ) that use the keyword reserved "reference" to indicate relationship between tables.

Em segunda-feira, 4 de julho de 2016 15:33:04 UTC-3, Carlos Cesar Caballero escreveu:

    Hi, all web2py tutorials out there works with non-identifying
    relationships between tables, is there some caveat or tips for
    work with
    an identifying relationship data model?

    Greetings.

-- Este mensaje le ha llegado mediante el servicio de correo
    electronico que ofrece Infomed para respaldar el cumplimiento de
    las misiones del Sistema Nacional de Salud. La persona que envia
    este correo asume el compromiso de usar el servicio a tales fines
    y cumplir con las regulaciones establecidas

    Infomed: http://www.sld.cu/

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.



--
Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to