Project

General

Profile

Actions

Feature proposal #7020

open

Improve query API to handle prepared statements

Added by krileon almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
07 February 2018
Due date:
% Done:

0%

Estimated time:

Description

Prepared statements offer higher security and re-usability when variables are used in the query. It's also cleaner to write when replacing variables instead of having those variables inline with the query.

http://php.net/manual/en/mysqli.quickstart.prepared-statements.php

Probably just needs a prepare and execute function added to the driver. The query API in general likely needs to be scrubbed of all old usages and updated for latest practices regardless.

No data to display

Actions

Also available in: Atom PDF