php-etl
php-etl copied to clipboard
SQL commands not using db scheme
I use postgresql.
I have DB with some schemas: public, transit, log, debug.
I use Laravel.
I define schema via .env file:
DB_SCHEMA=transit
To create valid sql i need to use write schema in each load function:
$etl->load('insert_update', 'transit.user2')