SDO-DAS-Relational 函数

预定义类

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 createRootDataObject() call to obtain the root object of an empty data graph, the executeQuery() call to obtain a data graph containing data from a relational database, and the applyChanges() call to write changes made to a data graph back to the relational database.

SDO_DAS_Relational

The only object other than an SDO_DAS_Relational_Exception with which the application is expected to interact.

方法

  • __construct - construct the Relational DAS with a model derived from the passed metadata

  • createRootDataObject - obtain an otherwise empty data graph containing just the special root object

  • executeQuery - execute an SQL query passed as a literal string and return the results as a normalised data graph

  • executePreparedQuery - 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

  • applyChanges - examine the change summary in the data graph and apply those changes back to the database, subject to an assumption of optimistic concurrency

SDO_DAS_Relational_Exception

Is a subclass of PHP's Exception. It adds no behaviour to Exception. Thrown, with useful descriptive text, to signal errors in the metadata or unexpected failures to perform SQL operations.

Table of Contents

相关文章
php sdo das relational 简介php sdo das xml sdo das xml 函数php sdo das relational sdo das relational 函数php sdo das relational 函数 applies the changes made to a data graph back to the databasephp sdo das relational 函数 creates an instance of a relational data access servicephp sdo das relational 函数 returns the special root object in an otherwise empty data graph. used when creating a data graph from scratchphp sdo das relational 函数 executes 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 graphphp sdo das relational 函数 executes a given sql query against a relational database and returns the results as a normalised data graphphp sdo das xml 函数 returns the root sdo dataobjectphp sdo das xml 函数 sets the xml declarationphp sdo das xml 函数 sets the given string as xml versionphp sdo das xml 函数 to load a second or subsequent schema file to a sdo das xml objectphp sdo das xml 函数 to create sdo das xml object for a given schema filephp sdo das xml 函数 creates sdo dataobject for a given namespace uri and type namephp sdo das xml 函数 creates an xml document object from scratch without the need to load a document from a file or stringphp sdo das xml 函数 returns sdo das xml document object for a given path to xml instance documentphp sdo das xml 函数 returns sdo das xml document for a given xml instance stringphp sdo das relational 范例php sdo das relational limitationsphp sdo das relational 安装/配置
关注编程学问公众号