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
static CRM_Utils_SQL_TempTable
build()
No description
__destruct()
No description
string
getName()
Determine the full table name.
createWithQuery(string|CRM_Utils_SQL_Select $selectQuery)
Create the table using results from a SELECT query.
createWithColumns($columns)
Create the empty table.
drop()
Drop the table.
string|NULL
getCategory()
No description
string|NULL
getId()
No description
string|NULL
getCreateSql()
No description
bool
isAutodrop()
No description
bool
isDurable()
No description
bool
isMemory()
No description
bool
isUtf8()
No description
setAutodrop(bool $autodrop = TRUE)
No description
setCategory(string|NULL $category)
No description
setDurable(bool $durable = TRUE)
Set whether the table should be durable.
setId(mixed $id)
Setter for id
$this
setMemory(bool $value = TRUE)
Set table engine to MEMORY.
$this
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
Set table collation to UTF8.