Query/apiDocumentation/classes/PDO.html

154 lines
6.5 KiB
HTML
Raw Normal View History

2018-01-24 15:31:27 -05:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - PDO</title>
<link rel="stylesheet" type="text/css" href="../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<nav class="topnav">
<ul>
<li>
<div class="logo"><span>/**</span>phpDox</div>
</li>
<li class="separator">
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../namespaces.html">Namespaces</a>
</li>
<li>
<a href="../interfaces.html">Interfaces</a>
</li>
<li>
<a href="../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../source/index.html">Source</a>
</li>
</ul>
</nav>
<div id="mainstage">
<div class="box">
<ul class="breadcrumb">
<li>
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../classes.html">Classes</a>
</li>
<li class="separator">PDO</li>
</ul>
</div>
<nav class="box">
<ul>
<li>
<a href="#introduction">Introduction</a>
</li>
<li>
<a href="#synopsis">Synopsis</a>
</li>
<li>
<a href="#methods">Methods</a>
</li>
</ul>
</nav>
<section>
<h1 id="introduction"><small>\</small>PDO</h1>
<h4/>
<p/>
<h2 id="synopsis">Synopsis</h2>
<div class="synopsis">class PDO
{<br/><ul class="none"><li>// methods</li><li>public void <a title="PDO" href="../classes/PDO/__construct.html">__construct</a>()
</li><li>public bool <a title="PDO" href="../classes/PDO/beginTransaction.html">beginTransaction</a>()
</li><li>public bool <a title="PDO" href="../classes/PDO/commit.html">commit</a>()
2019-12-11 16:09:58 -05:00
</li><li>public string <a title="PDO" href="../classes/PDO/errorCode.html">errorCode</a>()
2018-01-24 15:31:27 -05:00
</li><li>public array <a title="PDO" href="../classes/PDO/errorInfo.html">errorInfo</a>()
</li><li>public int <a title="PDO" href="../classes/PDO/exec.html">exec</a>()
</li><li>public mixed <a title="PDO" href="../classes/PDO/getAttribute.html">getAttribute</a>()
</li><li>public array <a title="PDO" href="../classes/PDO/getAvailableDrivers.html">getAvailableDrivers</a>()
</li><li>public bool <a title="PDO" href="../classes/PDO/inTransaction.html">inTransaction</a>()
</li><li>public string <a title="PDO" href="../classes/PDO/lastInsertId.html">lastInsertId</a>()
</li><li>public PDOStatement <a title="PDO" href="../classes/PDO/prepare.html">prepare</a>()
</li><li>public PDOStatement <a title="PDO" href="../classes/PDO/query.html">query</a>()
</li><li>public string <a title="PDO" href="../classes/PDO/quote.html">quote</a>()
</li><li>public bool <a title="PDO" href="../classes/PDO/rollBack.html">rollBack</a>()
</li><li>public bool <a title="PDO" href="../classes/PDO/setAttribute.html">setAttribute</a>()
</li></ul>
}<br/></div>
<h2 id="methods">Methods</h2>
<div class="styled">
<h4>public</h4>
<ul>
<li id="__construct"><a title="PDO" href="../classes/PDO/__construct.html">__construct()</a>
Creates a PDO instance representing a connection to a database
</li>
<li id="beginTransaction"><a title="PDO" href="../classes/PDO/beginTransaction.html">beginTransaction()</a>
Initiates a transaction
</li>
<li id="commit"><a title="PDO" href="../classes/PDO/commit.html">commit()</a>
Commits a transaction
</li>
<li id="errorCode"><a title="PDO" href="../classes/PDO/errorCode.html">errorCode()</a>
Fetch the SQLSTATE associated with the last operation on the database handle
</li>
<li id="errorInfo"><a title="PDO" href="../classes/PDO/errorInfo.html">errorInfo()</a>
Fetch extended error information associated with the last operation on the database handle
</li>
<li id="exec"><a title="PDO" href="../classes/PDO/exec.html">exec()</a>
Execute an SQL statement and return the number of affected rows
</li>
<li id="getAttribute"><a title="PDO" href="../classes/PDO/getAttribute.html">getAttribute()</a>
Retrieve a database connection attribute
</li>
<li id="getAvailableDrivers"><a title="PDO" href="../classes/PDO/getAvailableDrivers.html">getAvailableDrivers()</a>
Return an array of available PDO drivers
</li>
<li id="inTransaction"><a title="PDO" href="../classes/PDO/inTransaction.html">inTransaction()</a>
Checks if inside a transaction
</li>
<li id="lastInsertId"><a title="PDO" href="../classes/PDO/lastInsertId.html">lastInsertId()</a>
Returns the ID of the last inserted row or sequence value
</li>
<li id="prepare"><a title="PDO" href="../classes/PDO/prepare.html">prepare()</a>
Prepares a statement for execution and returns a statement object
</li>
<li id="query"><a title="PDO" href="../classes/PDO/query.html">query()</a>
Executes an SQL statement, returning a result set as a PDOStatement object
</li>
<li id="quote"><a title="PDO" href="../classes/PDO/quote.html">quote()</a>
2019-12-11 16:09:58 -05:00
Quotes a string for use in a query
2018-01-24 15:31:27 -05:00
</li>
<li id="rollBack"><a title="PDO" href="../classes/PDO/rollBack.html">rollBack()</a>
Rolls back a transaction
</li>
<li id="setAttribute"><a title="PDO" href="../classes/PDO/setAttribute.html">setAttribute()</a>
Set an attribute
</li>
</ul>
</div>
</section>
</div>
<footer>
2019-12-11 16:09:58 -05:00
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2019 by Arne Blankerts and Contributors</span>
2018-01-24 15:31:27 -05:00
</footer>
</body>
</html>