Releases: TheDevick/MySql
Releases · TheDevick/MySql
v1.4.0
Add Order By in in Select Class
How To Use:
$MySql = new MySql("localhost", "root", "MySql", "world", $state);
$Select = new Select($MySql);
//Selecting all, order by Code
$Select->All("country", "Code");
//Selecting everything where the region is "South America", Order Ny Name, with 5 Limit
$Select->Where("country", "Region", "South America", "Name", 5);
v1.3.0
Add Limit in in Select Class
How To Use:
$MySql = new MySql("localhost", "root", "MySql", "world", $state);
$Select = new Select($MySql);
//Selecting all, with 5 Limit
$Select->All("country", 5);
//Selecting everything where the region is "South America", with 5 Limit
$Select->Where("country", "Region", "South America", 5);
v1.2.1
v1.2.0
Add Drop Class
How To Use:
$MySql = new MySql("localhost", "root", "MySql", "world", $state);
//Creating Table To Drop
$Create = new Create($MySql);
$Create->Table(
"TableName",
["Value 1", "Value2"],
["varchar(20)", "varchar(50)"]
);
//Dropping Table
$Drop = new Drop($MySql);
$Drop->Table("TableName");