SQLConnection Class extending Object

/ The SQLConnection class is the base class of all SQLConnection's and contains base class information such as pure methods /

Class Methods

Escapes the given value to protect against sql injection and returns the escaped value

function escape(string value) : string


Returns the last insert id to the database for this SQLConnection.
This should be implemented by SQL Driver connections that handle insert ids

function getInsertId() : number

Closes this connection to the database

function close() : void