mysql_xdevapi\TableSelect
PHP Manual

TableSelect::where

(No version information available, might only be in Git)

TableSelect::whereSet select search condition

Description

public mysql_xdevapi\TableSelect mysql_xdevapi\TableSelect::where ( string $where_expr )

Sets the search condition to filter.

Parameters

where_expr

Define the search condition to filter documents or records.

Return Values

A TableSelect object.

Examples

Example #1 mysql_xdevapi\TableSelect::where() example

<?php

$res 
$table->select('name as nm','age as ag')->where('age > 34')->execute();

?>

mysql_xdevapi\TableSelect
PHP Manual