: Class TableDefinition


: Class TableDefinition
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Class TableDefinition
TableDefinition
public class TableDefinition
Location: data/sql/TableDefinition.class
Used to create the table definition portion of an SQL statement.
Copyright © 2001 eXtremePHP. All rights reserved.
Constructor Summary
TableDefinition(var $table)
Initialize the TableDefinition with a single table name.

Method Summary
void
addTable(var $table)
Adds another table name to the TableDefinition.
void
getString()
Returns the constructed TableDefinition (partial) SQL string.
void
joinWith(var $table,
var $keyColumn)
Uses the JOIN operation to add a table on the given column name.
void
leftJoinWith(var $table,
var $keyColumn)
Uses the LEFT JOIN operation to add a table.
void
naturalJoinWith(var $table)
Uses the NATURAL JOIN operation to add a table.
void
rightJoinWith(var $table,
var $keyColumn)
Uses the RIGHT JOIN operation to add a table.

Constructor Detail
TableDefinition
public TableDefinition(var $table)
Initialize the TableDefinition with a single table name.
Parameters:$table - string. A table name
Method Detail
addTable
public void addTable(var $table)
Adds another table name to the TableDefinition.
Parameters:$table - string. A table name
joinWith
public void joinWith(var $table,
var $keyColumn)
Uses the JOIN operation to add a table on the given column name.
Parameters:$table - string. A table name$keyColumn - string. A column name
naturalJoinWith
public void naturalJoinWith(var $table)
Uses the NATURAL JOIN operation to add a table.
Parameters:$table - string. A table name
rightJoinWith
public void rightJoinWith(var $table,
var $keyColumn)
Uses the RIGHT JOIN operation to add a table.
Parameters:$table - string. A table name$keyColumn - string. A column name
leftJoinWith
public void leftJoinWith(var $table,
var $keyColumn)
Uses the LEFT JOIN operation to add a table.
Parameters:$table - string. A table name$keyColumn - string. A column name
getString
public void getString()
Returns the constructed TableDefinition (partial) SQL string.
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
содержание | 2 | как выглядит бетонный пол, битон приемущества
Используются технологии uCoz