leomarquine / php-etl

Extract, Transform and Load data using PHP.
MIT License
178 stars 81 forks source link

Update Csv.php #55

Open CarlosASLJR opened 3 years ago

CarlosASLJR commented 3 years ago

If the CSV field is empty it can cause an SQL error, replacing it with NULL does not cause an error.

Note: Database column cannot be "NOT NULL"

ecourtial commented 3 years ago

Hi @CarlosASLJR You can use our fork to check if you still have the issue :) https://github.com/wizaplace/php-etl Changelog here: https://github.com/wizaplace/php-etl/blob/master/changelog.MD :)