📄 ref.sdo.das.rel.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>SDO-DAS-Relational Functions</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.sdodasrel.html">SDO-DAS-Relational</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.sdo-das-relational-applychanges.html">SDO_DAS_Relational::applyChanges</a></div> <div class="up"><a href="book.sdodasrel.html">SDO-DAS-Relational</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1 class="title">SDO-DAS-Relational Functions</h1> <div class="partintro"> <div id="sdo.das.rel.classes" class="section"> <h2 class="title">Predefined Classes</h2> <p class="para"> The Relational DAS provides two classes: the Relational DAS itself and the subclass of Exception that can be thrown. The Relational DAS has four publicly useful calls: the constructor, the <b>createRootDataObject()</b> call to obtain the root object of an empty data graph, the <b>executeQuery()</b> call to obtain a data graph containing data from a relational database, and the <b>applyChanges()</b> call to write changes made to a data graph back to the relational database. </p> <div id="sdo.das.rel.sdo-das-relational" class="section"> <h2 class="title"> <b class="classname">SDO_DAS_Relational</b> </h2> <p class="para"> The only object other than an SDO_DAS_Relational_Exception with which the application is expected to interact. </p> <div id="sdo.das.rel.sdo-das-relational.methods" class="section"> <h2 class="title">Methods</h2> <ul class="itemizedlist"> <li class="listitem"> <p class="para"> <a href="function.sdo-das-relational-construct.html" class="link"> __construct </a> - construct the Relational DAS with a model derived from the passed metadata </p> </li> <li class="listitem"> <p class="para"> <a href="function.sdo-das-relational-createrootdataobject.html" class="link"> createRootDataObject </a> - obtain an otherwise empty data graph containing just the special root object </p> </li> <li class="listitem"> <p class="para"> <a href="function.sdo-das-relational-executequery.html" class="link"> executeQuery </a> - execute an SQL query passed as a literal string and return the results as a normalised data graph </p> </li> <li class="listitem"> <p class="para"> <a href="function.sdo-das-relational-executepreparedquery.html" class="link"> executePreparedQuery </a> - execute an SQL query passed as a prepared statement, with a list of values to substitute for placeholders, and return the results as a normalised data graph </p> </li> <li class="listitem"> <p class="para"> <a href="function.sdo-das-relational-applychanges.html" class="link"> applyChanges </a> - examine the change summary in the data graph and apply those changes back to the database, subject to an assumption of optimistic concurrency </p> </li> </ul> </div> </div> <div id="sdo.das.rel.sdo-das-relational-exception" class="section"> <h2 class="title"> <b class="classname">SDO_DAS_Relational_Exception</b> </h2> <p class="para"> Is a subclass of PHP's <a href="class.exception.html" class="classname">Exception</a>. It adds no behaviour to <a href="class.exception.html" class="classname">Exception</a>. Thrown, with useful descriptive text, to signal errors in the metadata or unexpected failures to perform SQL operations. </p> </div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.sdo-das-relational-applychanges.html">SDO_DAS_Relational::applyChanges</a> 鈥
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -