2017 © Pedro Peláez
 

library sqlcvs

PHP class for working SQL and CVS

image

zualex/sqlcvs

PHP class for working SQL and CVS

  • Thursday, November 3, 2016
  • by zualex
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SqlCvs

PHP class for working SQL and CVS., (*1)

Exmaple

require_once __DIR__ . '/vendor/autoload.php';

use \SqlCvs\SqlCvs;

$sqlCvs = new SqlCvs('mysql:dbname=test_db;host=127.0.0.1', 'root', '');
$table = 'my_table2';

if (!$sqlCvs->isExistTable($table)) {
    $sqlCvs->import($table, 'tests/example.cvs');
}

$sqlCvs->setTable($table);
$row = $sqlCvs->getRandomRow();
if (count($row)) {
    $sqlCvs->update($row['id'], ['status' => 1]);
    echo $row['value'];
}

The Versions

03/11 2016

dev-master

9999999-dev https://github.com/zualex/sqlcvs

PHP class for working SQL and CVS

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Alexandr Zubarev

sql postgresql mysql sqlite import cvs

03/11 2016

1.0.0

1.0.0.0 https://github.com/zualex/sqlcvs

PHP class for working SQL and CVS

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Alexandr Zubarev

sql postgresql mysql sqlite import cvs