CRM_Utils_SQL_TempTable
class CRM_Utils_SQL_TempTable
Constants
UTF8 |
|
CATEGORY_LENGTH |
|
CATEGORY_REGEXP |
|
ID_LENGTH |
|
ID_REGEXP |
|
INNODB |
|
MEMORY |
|
Properties
protected bool | $durable | ||
protected bool | $utf8 | ||
protected | $category | ||
protected | $id | ||
protected | $autodrop | ||
protected | $memory | ||
protected | $createSql |
Methods
No description
No description
Determine the full table name.
Create the table using results from a SELECT query.
Create the empty table.
Drop the table.
No description
No description
No description
No description
No description
No description
No description
No description
No description
Set whether the table should be durable.
Setter for id
Set table engine to MEMORY.
Details
at line 102
static CRM_Utils_SQL_TempTable
build()
at line 114
__destruct()
at line 126
string
getName()
Determine the full table name.
at line 140
CRM_Utils_SQL_TempTable
createWithQuery(string|CRM_Utils_SQL_Select $selectQuery)
Create the table using results from a SELECT query.
at line 160
CRM_Utils_SQL_TempTable
createWithColumns($columns)
Create the empty table.
at line 177
CRM_Utils_SQL_TempTable
drop()
Drop the table.
at line 209
string|NULL
getCategory()
at line 216
string|NULL
getId()
at line 223
string|NULL
getCreateSql()
at line 230
bool
isAutodrop()
at line 237
bool
isDurable()
at line 244
bool
isMemory()
at line 251
bool
isUtf8()
at line 259
CRM_Utils_SQL_TempTable
setAutodrop(bool $autodrop = TRUE)
at line 269
CRM_Utils_SQL_TempTable
setCategory(string|NULL $category)
at line 286
CRM_Utils_SQL_TempTable
setDurable(bool $durable = TRUE)
Set whether the table should be durable.
Durable tables are not TEMPORARY in the mysql sense.
at line 298
CRM_Utils_SQL_TempTable
setId(mixed $id)
Setter for id
at line 313
$this
setMemory(bool $value = TRUE)
Set table engine to MEMORY.
at line 329
$this
setUtf8(bool $value = TRUE)
deprecated
deprecated This method is deprecated as tables should be assumed to have UTF-8 as the default character set and collation; some other character set or collation may be specified in the column definition.
Set table collation to UTF8.