File path: dist/twist/Core/Models/Database/Records.model.php
Namespace: Twist\Core\Models\Database
buildWhereClause
— Dynamically build a where clause that will be used to get, search and delete records form the database.
The where clause contains a single parameter and can be a LIKE, Equals or an IN statement.
Name | Description |
---|---|
$mxdValue | n/a |
$strField | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$mxdValue = 'foo-123';
$strField = 'foo';
//Call the function buildWhereClause with the example vars
$resRecords = new \Twist\Core\Models\Database\Records();
$resRecords -> buildWhereClause($mxdValue, $strField);