Facturacion
This commit is contained in:
29
app/common/Implement/Database/Query/Builder.php
Normal file
29
app/common/Implement/Database/Query/Builder.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
namespace Incoviba\Common\Implement\Database\Query;
|
||||
|
||||
use Incoviba\Common\Define;
|
||||
|
||||
class Builder implements Define\Query\Builder
|
||||
{
|
||||
public function create(string $table_name): Create
|
||||
{
|
||||
return (new Create())->table($table_name);
|
||||
}
|
||||
|
||||
public function select(array|string $columns = '*'): Select
|
||||
{
|
||||
return (new Select())->columns($columns);
|
||||
}
|
||||
public function insert(): Insert
|
||||
{
|
||||
return new Insert();
|
||||
}
|
||||
public function update(string $table): Update
|
||||
{
|
||||
return (new Update())->table($table);
|
||||
}
|
||||
public function delete(): Delete
|
||||
{
|
||||
return new Delete();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user