TableUpdate::__construct
(사용 가능한 버전 정보가 없으며 Git에만 있을 수 있음)
TableUpdate::__construct — TableUpdate constructor
설명
private mysql_xdevapi\TableUpdate::__construct()
update() 메서드를 사용하여 시작됩니다.
매개변수
이 함수에는 매개변수가 없습니다.
Examples
예제 #1 mysql_xdevapi\TableUpdate::__construct() 예제
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$schema = $session->getSchema("addressbook");
$table = $schema->getTable("names");
$res = $table->update()
->set('level', 3)
->where('age > 15 and age < 22')
->limit(4)
->orderby(['age asc','name desc'])
->execute();
?>