Skip to content

540co/php-csvtable

 
 

Repository files navigation

Keboola CsvTable

Description

A class that extends Keboola\CsvFile functionality by adding Keboola StorageApi Attribute and PrimaryKey variables

Usage

    use Keboola\CsvTable\Table;
	$table = new Table('name', ['id', 'column', 'names']);
    $table->writeRow(['1','row','data']);
    $table->addAttributes(['created_by' => $username]);
    $table->setPrimaryKey('id');

Result:

	id,column,names
	"1","row","data"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%