search
HomePHP LibrariesDatabase operation classsamsui-master pseudo data generation library
samsui-master pseudo data generation library

The pseudo data generator generates a large amount of data according to certain data rules and supports teradata data import and oracle data import.

Software function: Import a large amount of data into the database in order to test the performance of the software under large amounts of data.

<?php namespace Samsui\Generator;
use \Samsui\Provider\ProviderInterface;
class Generator implements GeneratorInterface
{
    protected $providers = array();
    protected static $instance;
    /**
     * @param string $name
     */
    public function registerProvider($name, ProviderInterface $provider)
    {
        $this->providers[$name] = $provider;
    }
    public function __get($name)
    {
        if (isset($this->providers[$name])) {
            return $this->providers[$name];
        }
    }


Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

mysql database operation class_PHP tutorialmysql database operation class_PHP tutorial

13Jul2016

mysql database operation class. mysql database operation class This section uses the php mysql database operation class function. It can delete, modify, add, backup and other operations on the database. It also supports two database connections.

The best PHP database operation class-ezSQL_PHP tutorialThe best PHP database operation class-ezSQL_PHP tutorial

20Jul2016

The best PHP database operation class-ezSQL. ezSQL is a very easy-to-use PHP database operation class. The database operation of the famous open source blog WordPress uses the MySQL part of ezSQL. This database operation class supports almost all mainstream

mysql operation class_PHP tutorialmysql operation class_PHP tutorial

13Jul2016

mysql operation class. ?php /** * Database operation class * 2011/8/25 * kcj * */ class MyDB { private $db_host; //Database host name private $db_user; //Database user name private $db_pwd; //Database password p

A simple database operation class implemented in PHP_PHP tutorialA simple database operation class implemented in PHP_PHP tutorial

13Jul2016

A simple database operation class implemented in PHP. A simple database operation class implemented by PHP A simple database operation class implemented by PHP Functions implemented: - Can set the connection character set during instantiation - During instantiation

Complete example of PHP database operation Helper class, phphelper_PHP tutorialComplete example of PHP database operation Helper class, phphelper_PHP tutorial

12Jul2016

A complete example of PHP database operation Helper class, phphelper. A complete example of the PHP database operation Helper class, phphelper This article describes the PHP database operation Helper class through examples. Share it with everyone for your reference, the details are as follows: PHP operation database is divided into several

PHP implements PDO's mysql database operation class, phppdomysql database_PHP tutorialPHP implements PDO's mysql database operation class, phppdomysql database_PHP tutorial

13Jul2016

PHP implements PDO's mysql database operation class, phppdomysql database. PHP implements the mysql database operation class of PDO, phppdomysql database This article describes the example of PHP implementing the mysql database operation class of PDO. Share it with everyone for your reference. The specific analysis is as follows: d

See all articles