SQL utilities.
More...
SQL utilities.
- Author
- jc
- Version
- 1.0.4
Definition at line 13 of file SqlUtils.php.
◆ checkWhere()
static checkWhere |
( |
|
$condition | ) |
|
|
static |
◆ checkWhereParams()
static checkWhereParams |
( |
|
$condition, |
|
|
& |
$params = [] |
|
) |
| |
|
static |
◆ getCondition()
static getCondition |
( |
|
$keyValues, |
|
|
|
$classname = null , |
|
|
|
$separator = ' AND ' |
|
) |
| |
|
static |
◆ getFieldList()
static getFieldList |
( |
|
$fields, |
|
|
|
$tableName = false |
|
) |
| |
|
static |
- Parameters
-
array | string | $fields | |
boolean | string | $tableName | |
- Returns
- string
Definition at line 135 of file SqlUtils.php.
◆ getInsertFields()
static getInsertFields |
( |
|
$keyAndValues | ) |
|
|
static |
◆ getInsertFieldsValues()
static getInsertFieldsValues |
( |
|
$keyAndValues | ) |
|
|
static |
◆ getMultiWhere()
static getMultiWhere |
( |
|
$values, |
|
|
|
$field |
|
) |
| |
|
static |
◆ getParameters()
static getParameters |
( |
|
$keyAndValues | ) |
|
|
staticprivate |
◆ getQuotedKeys()
static getQuotedKeys |
( |
|
$keyAndValues | ) |
|
|
staticprivate |
◆ getSearchWhere()
static getSearchWhere |
( |
|
$likeOp, |
|
|
|
$fields, |
|
|
|
$value, |
|
|
|
$jokerBefore = '%' , |
|
|
|
$jokerAfter = '%' |
|
) |
| |
|
static |
◆ getUpdateFieldsKeyAndParams()
static getUpdateFieldsKeyAndParams |
( |
|
$keyAndValues | ) |
|
|
static |
◆ getUpdateFieldsKeyAndValues()
static getUpdateFieldsKeyAndValues |
( |
|
$keyAndValues | ) |
|
|
static |
◆ getWhere()
static getWhere |
( |
|
$keyAndValues | ) |
|
|
static |
◆ getWherePK()
static getWherePK |
( |
|
$pkKeyAndValues | ) |
|
|
static |
◆ $quote
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity/src/Ubiquity/db/SqlUtils.php