MySQL and PHP

5.29.8 SqlStatementResult::getGeneratedIds

Copyright 1997-2021 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.142 mysql_xdevapi\SqlStatementResult::getGeneratedIds example

<?php

/* ... */

?>