|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilPostgresQueryUtils. More...
Inheritance diagram for ilPostgresQueryUtils:
Collaboration diagram for ilPostgresQueryUtils:Public Member Functions | ||||||||||
| createTable ($name, $fields, $options=array()) | ||||||||||
| in ($field, $values, $negate=false, $type="") | ||||||||||
| quote ($value, $type=null) | ||||||||||
| concat (array $values, $allow_null=true) | ||||||||||
| locate ($a_needle, $a_string, $a_start_pos=1) | ||||||||||
| free (ilPDOStatement $statement) | ||||||||||
| quoteIdentifier ($identifier) | ||||||||||
| like ($column, $type, $value="?", $case_insensitive=true) | ||||||||||
| now () | ||||||||||
| lock (array $tables) | ||||||||||
| unlock () | ||||||||||
| createDatabase ($a_name, $a_charset="utf8", $a_collation="") | ||||||||||
| groupConcat ($a_field_name, $a_seperator=",", $a_order=null) | ||||||||||
| cast ($a_field_name, $a_dest_type) | ||||||||||
| ||||||||||
Public Member Functions inherited from ilQueryUtils | ||||||||||
| __construct (ilDBInterface $ilDBInterface) | ||||||||||
| ilMySQLQueryUtils constructor. More... | ||||||||||
| in ($field, $values, $negate=false, $type="") | ||||||||||
| quote ($value, $type=null) | ||||||||||
| concat (array $values, $allow_null=true) | ||||||||||
| locate ($a_needle, $a_string, $a_start_pos=1) | ||||||||||
| free (ilPDOStatement $statement) | ||||||||||
| quoteIdentifier ($identifier) | ||||||||||
| createTable ($name, $fields, $options=array()) | ||||||||||
| like ($column, $type, $value="?", $case_insensitive=true) | ||||||||||
| now () | ||||||||||
| lock (array $tables) | ||||||||||
| unlock () | ||||||||||
| createDatabase ($a_name, $a_charset="utf8", $a_collation="") | ||||||||||
| groupConcat ($a_field_name, $a_seperator=",", $a_order=null) | ||||||||||
| ||||||||||
| cast ($a_field_name, $a_dest_type) | ||||||||||
| ||||||||||
| in ($field, $values, $negate=false, $type="") | ||||||||||
| quote ($value, $type=null) | ||||||||||
| concat (array $values, $allow_null=true) | ||||||||||
| locate ($a_needle, $a_string, $a_start_pos=1) | ||||||||||
| free (ilPDOStatement $statement) | ||||||||||
| quoteIdentifier ($identifier) | ||||||||||
| createTable ($name, $fields, $options=array()) | ||||||||||
| like ($column, $type, $value="?", $case_insensitive=true) | ||||||||||
| now () | ||||||||||
| lock (array $tables) | ||||||||||
| unlock () | ||||||||||
| createDatabase ($a_name, $a_charset="utf8", $a_collation="") | ||||||||||
| groupConcat ($a_field_name, $a_seperator=",", $a_order=null) | ||||||||||
| cast ($a_field_name, $a_dest_type) | ||||||||||
Additional Inherited Members | |
Protected Attributes inherited from ilQueryUtils | |
| $db_instance | |
Class ilPostgresQueryUtils.
Definition at line 9 of file class.ilPostgresQueryUtils.php.
| ilPostgresQueryUtils::cast | ( | $a_field_name, | |
| $a_dest_type | |||
| ) |
| string | $a_field_name | |
| mixed | $a_dest_type |
Reimplemented from ilQueryUtils.
Definition at line 326 of file class.ilPostgresQueryUtils.php.
| ilPostgresQueryUtils::concat | ( | array | $values, |
$allow_null = true |
|||
| ) |
| array | $values | |
| bool | $allow_null |
Reimplemented from ilQueryUtils.
Definition at line 116 of file class.ilPostgresQueryUtils.php.
| ilPostgresQueryUtils::createDatabase | ( | $a_name, | |
$a_charset = "utf8", |
|||
$a_collation = "" |
|||
| ) |
| $a_name | ||
| string | $a_charset | |
| string | $a_collation |
Reimplemented from ilQueryUtils.
Definition at line 293 of file class.ilPostgresQueryUtils.php.
| ilPostgresQueryUtils::createTable | ( | $name, | |
| $fields, | |||
$options = array() |
|||
| ) |
| $name | ||
| $fields | ||
| array | $options |
Reimplemented from ilQueryUtils.
Definition at line 19 of file class.ilPostgresQueryUtils.php.
References $name, $options, $query, $type, and quote().
Here is the call graph for this function:| ilPostgresQueryUtils::free | ( | ilPDOStatement | $statement | ) |
| \ilPDOStatement | $statement |
Reimplemented from ilQueryUtils.
Definition at line 174 of file class.ilPostgresQueryUtils.php.
References ilPDOStatement\closeCursor().
Here is the call graph for this function:| ilPostgresQueryUtils::groupConcat | ( | $a_field_name, | |
$a_seperator = ",", |
|||
$a_order = null |
|||
| ) |
| string | $a_field_name | |
| string | $a_seperator | |
| string | $a_order |
Reimplemented from ilQueryUtils.
Definition at line 312 of file class.ilPostgresQueryUtils.php.
References quote().
Here is the call graph for this function:| ilPostgresQueryUtils::in | ( | $field, | |
| $values, | |||
$negate = false, |
|||
$type = "" |
|||
| ) |
| string | $field | |
| string[] | $values | |
| bool | $negate | |
| string | $type |
Reimplemented from ilQueryUtils.
Definition at line 76 of file class.ilPostgresQueryUtils.php.
References $type, and quote().
Here is the call graph for this function:| ilPostgresQueryUtils::like | ( | $column, | |
| $type, | |||
$value = "?", |
|||
$case_insensitive = true |
|||
| ) |
| $column | ||
| $type | ||
| string | $value | |
| bool | $case_insensitive |
Reimplemented from ilQueryUtils.
Definition at line 200 of file class.ilPostgresQueryUtils.php.
References $column, $type, quote(), ilDBConstants\T_CLOB, and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ilPostgresQueryUtils::locate | ( | $a_needle, | |
| $a_string, | |||
$a_start_pos = 1 |
|||
| ) |
| $a_needle | ||
| $a_string | ||
| int | $a_start_pos |
Reimplemented from ilQueryUtils.
Definition at line 155 of file class.ilPostgresQueryUtils.php.
| ilPostgresQueryUtils::lock | ( | array | $tables | ) |
| array | $tables |
Reimplemented from ilQueryUtils.
Definition at line 241 of file class.ilPostgresQueryUtils.php.
References $counter, $table, ilDBConstants\LOCK_READ, and ilDBConstants\LOCK_WRITE.
| ilPostgresQueryUtils::now | ( | ) |
Reimplemented from ilQueryUtils.
Definition at line 231 of file class.ilPostgresQueryUtils.php.
| ilPostgresQueryUtils::quote | ( | $value, | |
$type = null |
|||
| ) |
| mixed | $value | |
| null | $type |
Reimplemented from ilQueryUtils.
Definition at line 105 of file class.ilPostgresQueryUtils.php.
References $type.
Referenced by createTable(), groupConcat(), in(), and like().
Here is the caller graph for this function:| ilPostgresQueryUtils::quoteIdentifier | ( | $identifier | ) |
| $identifier |
Reimplemented from ilQueryUtils.
Definition at line 186 of file class.ilPostgresQueryUtils.php.
| ilPostgresQueryUtils::unlock | ( | ) |
Reimplemented from ilQueryUtils.
Definition at line 281 of file class.ilPostgresQueryUtils.php.