Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Fusiontables_Query_Resource Class Reference

The "query" collection of methods. More...

Inheritance diagram for Google_Service_Fusiontables_Query_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 sql ($sql, $optParams=array())
 Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT.
 
 sqlGet ($sql, $optParams=array())
 Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE (query.sqlGet)
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "query" collection of methods.

Typical usage is: $fusiontablesService = new Google_Service_Fusiontables(...); $query = $fusiontablesService->query;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ sql()

Google_Service_Fusiontables_Query_Resource::sql ( $sql,
$optParams = array() )

Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT.

  • UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement. (query.sql)
Parameters
string$sqlA Fusion Tables SQL statement, which can be any of - SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE
array$optParamsOptional parameters.

@opt_param bool typed Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true. @opt_param bool hdrs Whether column names are included in the first row. Default is true.

Return values
Google_Service_Fusiontables_Sqlresponse

◆ sqlGet()

Google_Service_Fusiontables_Query_Resource::sqlGet ( $sql,
$optParams = array() )

Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE (query.sqlGet)

Parameters
string$sqlA SQL statement which can be any of - SELECT - SHOW - DESCRIBE
array$optParamsOptional parameters.

@opt_param bool typed Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true. @opt_param bool hdrs Whether column names are included (in the first row). Default is true.

Return values
Google_Service_Fusiontables_Sqlresponse

The documentation for this class was generated from the following file: