Skip to content
Georg Richter edited this page Aug 31, 2018 · 23 revisions

Prepared Statement API Reference

A prepared statement or a parameterized statement is used to execute the same statement repeatedly with high efficiency. The prepared statement execution consists of two stages: prepare and execute.

  • At the prepare stage a statement template is sent to the database server. The server performs a syntax check and initializes server internal resources for later use.
  • During execute the client binds parameter values and sends them to the server. The server creates a statement from the statement template and the bound values to execute it using the previously created internal resources.

The MariaDB server supports using anonymous, positional placeholder with ?(question mark).

API Functions

Clone this wiki locally