Añadido método prepare() a la clase Db\Conn
This commit is contained in:
parent
a733993ee0
commit
c73e018c0a
|
@ -1,4 +1,4 @@
|
||||||
php-vn-lib (1.207-deb8) stable; urgency=low
|
php-vn-lib (1.208-deb8) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -164,6 +164,18 @@ class Conn
|
||||||
return $success;
|
return $success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare an SQL statement for execution.
|
||||||
|
*
|
||||||
|
* @param string $query The SQL query
|
||||||
|
*
|
||||||
|
* @return mixed The statement object or %FALSE if an error occurred
|
||||||
|
**/
|
||||||
|
function prepare ($query)
|
||||||
|
{
|
||||||
|
return $this->conn->prepare ($query);
|
||||||
|
}
|
||||||
|
|
||||||
function storeResult ()
|
function storeResult ()
|
||||||
{
|
{
|
||||||
$result = $this->conn->store_result ();
|
$result = $this->conn->store_result ();
|
||||||
|
|
Loading…
Reference in New Issue