PhpLiveDb class
The main class to make the connection and create work objects Methods namespace ProtocolLive\PhpLiveDb; use PDO; use ProtocolLive\PhpLiveDb\Enums\Drivers; abstract class PhpLiveDb extends Basics{
public function
__construct(
}
string $Ip,
);
public function
Delete(
string $User = null, string $Pwd = null, string $Db = null, Drivers $Driver = Drivers::MySql, string $Charset = 'utf8mb4', int $TimeOut = 5, string $Prefix = null, callable $OnRun = null
string $Table
):Delete;
public function
GetCustom():PDO;
public function
Insert(
string $Table
):Insert;
public function
InsertUpdate(
string $Table
):InsertUpdate;
public function
Select(
string $Table,
):Select;
public function
Truncate(
bool $ThrowError = true
string $Table
):int|false;
public function
Update(
string $Table
):Update;
See more
|