Generally they are equivalent (behind the scenes, db.table gets converted to 'reference table'). The advantage of the 'reference table' version is that it can be used to refer to tables that have not yet been defined (including self references), whereas the db.table version obviously cannot be used this way.
Does anyone know a use case of referencing tables that have not yet been defined? I am enjoying so much this framework that I need to know all the good stuff!
0
anthony 12 years ago
Generally they are equivalent (behind the scenes, db.table gets converted to 'reference table'). The advantage of the 'reference table' version is that it can be used to refer to tables that have not yet been defined (including self references), whereas the db.table version obviously cannot be used this way.
replies (3)