Home > PHP > Function > > SDO_DAS_Relational::executeQuery()

SDO_DAS_Relational::executeQuery()

SDO_DAS_Relational::executeQuery - Executes a given SQL query against a relational database and returns the results as a normalised data graph.

Syntax

SDO_DAS_Relational::executeQuery ()

Arguments

-

Description

Executes a given query against the relational database, using the supplied PDO database handle. Uses the model that it built from the metadata to interpret the result set. Returns a data graph.

Version

PHP ^

Return value

Returns a data graph. Specifically, it returns a root object of a special type. Under this root object will be the data from the result set. The root object will have a multi-valued containment property with the same name as the application root type specified on the constructor, and that property will contain one or more data objects of the application root type.