laravel laravel-table-dictionary
Generate a dictionary of possible values for a database column to scale your data set.
eschmar/laravel-table-dictionary
Generate a dictionary of possible values for a database column to scale your data set.
- Monday, June 11, 2018
- by eschmar
- Repository
- 1 Watchers
- 0 Stars
- 103 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Laravel Table Dictionary
Introduces the TableDictionary
data structure, which is capable of extracting a statistical distribution of your database column contents. This distribution can be used to generate more of the same content, utilizing a lottery ticket system. Exposes the TableDictionaryService
with static functions to generate the TableDictionary
data structure for your current database tables and importing them within another environment., (*1)
Usage
// Sample usage
$dict = new TableDictionary("table_name");
$dict->generate("attribute_name");
// Persist dictionary
TableDictionaryService::writeDictionary($dict);
// Retrieve dictionary
TableDictionaryService::writeDictionary($dict);
$dict = TableDictionaryService::getDictionary("table_name");
dev-master
9999999-dev
Generate a dictionary of possible values for a database column to scale your data set.
Sources
Download
The Requires
0.1.0
0.1.0.0
Generate a dictionary of possible values for a database column to scale your data set.
Sources
Download
The Requires