← All docs

mysqli_savepoint()

Creates a named savepoint in the open transaction.

mysqli_savepoint()

function mysqli_savepoint(mixed $mysql, string $name): bool

Creates a named savepoint in the open transaction.

Parameters:

  • $mysql (mixed)
  • $name (string)

Returns: bool

Availability

  • Compiled (AOT): supported through an injected elephc-PHP prelude.
  • eval() (magician interpreter): not available inside eval’d code.

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mysqli_savepoint is implemented in the compiler, see the internals page.