Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [Session

Protect Your Website Today


PHP Manual || mysql_xdevapi\Session

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

Session::sqlExecute SQL query

Description

public mysql_xdevapi\Session::sql ( string $query ) : mysql_xdevapi\SqlStatement

Create a native SQL statement. Placeholders are supported using the native "?" syntax. Use the execute method to execute the SQL statement.

Parameters

query

SQL statement to execute.

Return Values

An SqlStatement object.

Examples

Example #1 mysql_xdevapi\Session::sql() example

<?php
$session 
mysql_xdevapi\getSession("mysqlx://user:[email protected]");

$session->sql("CREATE DATABASE addressbook")->execute();
?>


PHP Manual || mysql_xdevapi\Session