2017 © Pedro Peláez
 

library liquet-database

use mysql queries and and efficiently import thousands of records from csv

image

doyevaristo/liquet-database

use mysql queries and and efficiently import thousands of records from csv

  • Tuesday, June 6, 2017
  • by doyevaristo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Liquet Database

Simple data MySQL query runner and imports database records from big data CSV., (*1)

Made this library for loading layer of Data Warehousing, (*2)

Features:

  • runs query in straight forward manner
  • Import huge csv. Either update the existing record or add new records.

Usage:, (*3)

use Doyevaristo\LiquetDatabase\CsvReader;
use Doyevaristo\LiquetDatabase\LiquetCSVImporter;
use Doyevaristo\LiquetDatabase\LiquetDatabase;




$liquetDatabase = new LiquetDatabase('db_username','db_password','db_database','db_hostname');
$csvReader = new CsvReader();
$csvImporter = new LiquetCSVImporter($liquetDatabase,$csvReader);
$csvImporter
    ->table('your_table_name')
    ->import($file);

Notes: - CSV must have header same with table column name, (*4)

To Do: - Improve documentation - Unit testing, (*5)

The Versions

06/06 2017

dev-master

9999999-dev

use mysql queries and and efficiently import thousands of records from csv

  Sources   Download

MIT

by Rolando Evaristo

06/06 2017

v1.0.1

1.0.1.0

use mysql queries and and efficiently import thousands of records from csv

  Sources   Download

MIT

by Rolando Evaristo