PHP Класс Bluz\Db\Query\Insert

Наследование: extends AbstractBuilder, use trait Bluz\Db\Query\Traits\Set
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
execute ( null $sequence = null ) : integer | string | array
getSql ( ) : string
insert ( string $table ) : Insert Turns the query being built into an insert query that inserts into a certain table

Описание методов

execute() публичный Метод

public execute ( null $sequence = null ) : integer | string | array
$sequence null
Результат integer | string | array

getSql() публичный Метод

public getSql ( ) : string
Результат string

insert() публичный Метод

Example $ib = new InsertBuilder(); $ib ->insert('users') ->set('name', 'username') ->set('password', md5('password'));
public insert ( string $table ) : Insert
$table string The table into which the rows should be inserted
Результат Insert instance