File path: dist/twist/Core/Models/Database/Records.model.php
Namespace: Twist\Core\Models\Database
count
— Get a record count of rows in the selected table. You can filter the results using the field and value parameters.
If the filter value contains a '%' it will be filtered as a LIKE, if the value contains an array it will be imploded and filtered as an IN otherwise filtering will be done as an EQUALS.
Name | Description |
---|---|
[$mxdValue = null] | n/a |
[$strField = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$mxdValue = null;
$strField = null;
//Call the function count with the example vars
$resRecords = new \Twist\Core\Models\Database\Records();
$resRecords -> count($mxdValue, $strField);