TableMySql

Extends \bin\TableFactory

Classe responsável por criar as tabelas do banco

package

bin

Methods

Dá o alter na tabela

alter( $obj) : mixed
inherited static abstract

Arguments

$obj

Response

mixed

Mostra as colunas daquela tabela.

columns(String $table) : array|boolean
static

Arguments

$table

String

Response

array|boolean

Dá o create na tabela

create( $obj) : mixed
inherited static abstract

Arguments

$obj

Response

mixed

Exclui a tabela

drop( $obj) : mixed
inherited static abstract

Arguments

$obj

Response

mixed

Verifica se a tabela existe, se caso não existir, a função retornará false.

exists(Object $obj) : boolean|string
static

Arguments

$obj

Object

Response

boolean|string

Pega a conexão com o banco

getConnection() : \PDO
inherited

Response

\PDO

Sincroniza a tabela com o código

sync( $obj) : mixed
inherited static abstract

Arguments

$obj

Response

mixed