Interfaces

This commit is contained in:
Juan Pablo Vial
2022-09-08 17:40:03 -04:00
parent 803e1a25d3
commit e83638e223
6 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?php
namespace ProVM\Concept\Database;
use Psr\Container\ContainerInterface;
use ProVM\Concept\Database\Query\{Delete,Insert,Select,Update};
interface QueryBuilder
{
public function setContainer(ContainerInterface $container): QueryBuilder;
public function getContainer(): ContainerInterface;
public function select(array $columns = ['*']): Select;
public function insert(string $table): Insert;
public function update(string $table): Update;
public function delete(string $table): Delete;
}