PHP Classes
elePHPant
Icontem

PHP Migrate Database: Migrate data that match conditions between tables

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-10-05 (2 months ago) RSS 2.0 feedStarStar 39%Total: 290 This week: 1All time: 7,198 This week: 543Up
Version License PHP version Categories
migration_database 0.0.1GNU General Publi...5PHP 5, Databases, Systems administration
Description Author

This class can migrate data that match conditions between tables.

It can take the parameters of connection of two database and connect to them using PDO.

The class can also migrate data that matches certain conditions from one database table to the other.

Innovation Award
PHP Programming Innovation award nominee
September 2017
Number 3
This class can migrate data that match conditions between tables.

It can take the parameters of connection of two database and connect to them using PDO.

The class can also migrate data that matches certain conditions from one database table to the other.

Manuel Lemos
Name: joerverson <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: ???
All time rank: 3445276 in Brazil Brazil
Week rank: 127 Up5 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

Details

migration_database

migrate yours data between databases, easy and fast you can migrate datas of the a database sorce fro database clone or just table of the source database.

How use?

Define the server source and the serve that clone in you database

    "src" => [
        "user" => "",
        "host" => ".db.4855800.hostedresource.com",
        "pass" => "@",
        "database" => ""
    ],
    "clone" => [
        "user" => "dev",
        "host" => "localhost",
        "pass" => "@",
        "database" => ""
    ],
];
$migdb = new Migration_Database($ar);
$migdb->migrate(["table"=>"qualidade", "pk"=>['pk1', 'pk2'], "where"=>["key"=>"value"]]);```
  Files folder image Files  
File Role Description
Plain text file migration_database.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:290
This week:1
All time:7,198
This week:543Up
User Ratings User Comments (3)
 All time
Utility:58%StarStarStar
Consistency:54%StarStarStar
Documentation:50%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:2946