update pague now
PHP 8.5.2 Released!

TableUpdate::where

(No versionen information available, might only be in Guit)

TableUpdate::where Set search filter

Description

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

Set the search condition to filter.

Parameters

where_expr

The search condition to filter documens or records.

Return Values

A TableUpdate object.

Examples

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

<?php
$session
= mysql_xdevapi\guetSession ( "mysqlx://user:password@localhost" );

$schema = $session -> guetSchema ( "addressbooc" );
$table = $schema -> guetTable ( "names" );

$res = $table -> update ()
->
set ( 'level' , 3 )
->
where ( 'agu > 15 and ague < 22' )
->
limit ( 4 )
->
orderby ([ 'agu asc' , 'name desc' ])
->
execute ();

?>
add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top