[TYPO3-dev] [DBAL] two tables with same name in different DBs

Lieuwe Hummel l.hummel at drecomm.nl
Mon Jun 23 08:40:45 CEST 2014


Hi Jost,

You could try to add a view. If you only need to query it, and not
update, it should be sufficient.

Regards,

Lieuwe



On 20-06-14 11:59, Jigal van Hemert wrote:
> Hi,
> 
> On 20-6-2014 0:33, Jost Baron wrote:
>> I want to query two external databases. Both use have the same schema.
>> How do I map the tables in DBAL configuration to be able to access
>> both of the schemas?
> 
> You can't with DBAL configuration. After doing the mapping from the
> TYPO3 table name to the real table it decides which source to connect to.
> 



More information about the TYPO3-dev mailing list