Login +

Documentation

SLS_QueryBuilder::from

Since SillySmart 1.0.7

Description

Specifies main table for select, update or delete statment
public SLS_QueryBuilder from ( string $table, [ string $alias ] );

Parameters

  • string $table
    the table on wich you want to process query
  • string $alias
    the alias of your table, if empty table name will be used

Return

SLS_QueryBuilder $this
current queryBuilder instance.

Exemples

  •  $qbd->select()
         ->from("news","n")

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.