Login +

Documentation

SLS_QueryBuilder::naturalJoin

Since SillySmart 1.0.7

Description

Specifies natural join for select statment
public SLS_QueryBuilder naturalJoin ( string $joinTable, [ string $joinAlias ] );

Parameters

  • string $joinTable
    the table on wich you want to process a natural join
  • string $joinAlias
    the alias of your join, if empty table name will be used

Return

SLS_QueryBuilder $this
current queryBuilder instance.

Exemples

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

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.