MySQL and PHP

5.29.8 SqlStatementResult::getGeneratedIds

Copyright 1997-2019 the PHP Documentation Group.

Description

public array mysql_xdevapi\SqlStatementResult::getGeneratedIds();

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

An array of generated _id's from the last operation, or an empty array if there are none.

Examples

Example 5.141 mysql_xdevapi\SqlStatementResult::getGeneratedIds example


<?php

/* ... */

?>