|
MIOLO25
|
Membros públicos | |
| __construct ($columns='', $tables='', $where='', $orderBy='', $groupBy='', $having='', $forUpdate=false) | |
| setDb ($db) | |
| setColumns ($string, $distinct=false) | |
| setTables ($string) | |
| setGroupBy ($string) | |
| setOrderBy ($string) | |
| setWhere ($string) | |
| setWhereAnd ($string) | |
| setWhereOr ($string) | |
| setHaving ($string) | |
| setHavingAnd ($string) | |
| setHavingOr ($string) | |
| setJoin ($table1, $table2, $cond, $type='INNER') | |
| setLeftJoin ($table1, $table2, $cond) | |
| setRightJoin ($table1, $table2, $cond) | |
| setForUpdate ($forUpdate=false) | |
| SetSetOperation ($operation, MSQL $sql) | |
| bind ($parameters=null) | |
| prepare ($parameters=null) | |
| insert ($parameters=null) | |
| insertFrom ($sql) | |
| delete ($parameters=null) | |
| update ($parameters=null) | |
| select ($parameters=null) | |
| clear () | |
| setParameters () | |
| addParameter ($value) | |
| setRange () | |
| setOffset ($offset, $rows) | |
| findStr ($target, $source) | |
| parseSqlCommand (&$cmd, $clause, $delimiters) | |
| createFrom ($sqltext) | |
Campos de Dados | |
| $db | |
| $distinct | |
| $columns | |
| $tables | |
| $where | |
| $groupBy | |
| $having | |
| $orderBy | |
| $forUpdate | |
| $join | |
| $parameters | |
| $command | |
| $range | |
| $bind | |
| $stmt | |
| $setOperation | |
| __construct | ( | $columns = '', | |
| $tables = '', | |||
| $where = '', | |||
| $orderBy = '', | |||
| $groupBy = '', | |||
| $having = '', | |||
| $forUpdate = false ) |
| addParameter | ( | $value | ) |
| bind | ( | $parameters = null | ) |
| clear | ( | ) |
Clear MSQL attributes.
| createFrom | ( | $sqltext | ) |
Populate the current MSQL instance based on a given SQL instruction.
| string | $sqltext | SQL instruction. |
| delete | ( | $parameters = null | ) |
| findStr | ( | $target, | |
| $source ) |
| insert | ( | $parameters = null | ) |
Returns insert command. This method returns the sql insert command.
| array | $parameters | Array of values. |
| insertFrom | ( | $sql | ) |
| parseSqlCommand | ( | & | $cmd, |
| $clause, | |||
| $delimiters ) |
| prepare | ( | $parameters = null | ) |
| select | ( | $parameters = null | ) |
Returns SQL select command. This method returns the SQL select command.
| array | $parameters | Array of values. |
| setColumns | ( | $string, | |
| $distinct = false ) |
Set the columns Use this method to set which columns must be used.
| string | $string | Name of the columns. |
| boolean | $distinct | If you want a distinct select, inform TRUE. |
| setDb | ( | $db | ) |
| setForUpdate | ( | $forUpdate = false | ) |
| setGroupBy | ( | $string | ) |
| string | $string | Group by columns separated by comma. E.g.: 'column1, column2' |
| setHaving | ( | $string | ) |
| setHavingAnd | ( | $string | ) |
| setHavingOr | ( | $string | ) |
| setJoin | ( | $table1, | |
| $table2, | |||
| $cond, | |||
| $type = 'INNER' ) |
| setLeftJoin | ( | $table1, | |
| $table2, | |||
| $cond ) |
| setOffset | ( | $offset, | |
| $rows ) |
| setOrderBy | ( | $string | ) |
| string | $string | Order by columns separated by comma. E.g.: 'column1, column2 DESC' |
| setParameters | ( | ) |
| setRange | ( | ) |
| setRightJoin | ( | $table1, | |
| $table2, | |||
| $cond ) |
| SetSetOperation | ( | $operation, | |
| MSQL | $sql ) |
| setTables | ( | $string | ) |
| string | $string | Table names separated by comma. E.g.: 'table1, table2' |
| setWhere | ( | $string | ) |
| string | $string | Add conditional statement. E.g.: "column <> 'condition'" |
| setWhereAnd | ( | $string | ) |
| string | $string | Add AND conditional statement. E.g.: "column <> 'condition'" |
| setWhereOr | ( | $string | ) |
| string | $string | Add OR conditional statement. E.g.: "column <> 'condition'" |
| update | ( | $parameters = null | ) |
| $bind |
| $columns |
| $command |
| $db |
| $distinct |
| $forUpdate |
| $groupBy |
| $having |
| $join |
| $orderBy |
| $parameters |
| $range |
| $setOperation |
| $stmt |
| $tables |
| $where |