CakeFest 2024: The Official CakePHP Conference

SqlStatementResult::getLastInsertId

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

SqlStatementResult::getLastInsertIdGet last insert id

Description

public mysql_xdevapi\SqlStatementResult::getLastInsertId(): String

Warning

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

Parameters

This function has no parameters.

Return Values

The ID for the last insert operation.

Examples

Example #1 mysql_xdevapi\SqlStatementResult::getLastInsertId() example

<?php

/* ... */

?>
add a note

User Contributed Notes

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