Welcome Guest, Not a member yet? Register   Sign In
Active Record Join with Table Alias and Table Prefix
#3

[eluser]barbazul[/eluser]
Hi

The SVN version has de db prefix removed on the ON clause but stilll has the first problem.
the thing is: select() method always appends the db prefix when you pass something that looks like aaaa.bbbbb because it assumes 'aaaa' is a table name.
at this point you don't have the aliases set so there is no way to distinguish between an alias or a table name.

I'll look further into this and see if I can come up with a solution


Messages In This Thread
Active Record Join with Table Alias and Table Prefix - by El Forum - 04-09-2008, 07:12 PM
Active Record Join with Table Alias and Table Prefix - by El Forum - 04-10-2008, 08:03 AM
Active Record Join with Table Alias and Table Prefix - by El Forum - 04-10-2008, 08:54 AM
Active Record Join with Table Alias and Table Prefix - by El Forum - 04-10-2008, 09:00 AM
Active Record Join with Table Alias and Table Prefix - by El Forum - 04-15-2008, 02:02 PM
Active Record Join with Table Alias and Table Prefix - by El Forum - 04-15-2008, 09:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB