gogol-fusiontables-0.0.1: Google Fusion Tables SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.FusionTables.Query.SQL

Contents

Description

Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement.

See: Fusion Tables API Reference for fusiontables.query.sql.

Synopsis

REST Resource

type QuerySQLResource = ("fusiontables" :> ("v2" :> ("query" :> (QueryParam "sql" Text :> (QueryParam "typed" Bool :> (QueryParam "hdrs" Bool :> (QueryParam "alt" AltJSON :> Post `[JSON]` SQLresponse))))))) :<|> ("fusiontables" :> ("v2" :> ("query" :> (QueryParam "sql" Text :> (QueryParam "typed" Bool :> (QueryParam "hdrs" Bool :> (QueryParam "alt" AltMedia :> Post `[OctetStream]` Stream))))))) Source

A resource alias for fusiontables.query.sql method which the QuerySQL request conforms to.

Creating a Request

querySQL Source

Arguments

:: Text

qsqlSQL

-> QuerySQL 

Creates a value of QuerySQL with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data QuerySQL Source

Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement.

See: querySQL smart constructor.

Request Lenses

qsqlTyped :: Lens' QuerySQL (Maybe Bool) Source

Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true.

qsqlHdrs :: Lens' QuerySQL (Maybe Bool) Source

Whether column names are included in the first row. Default is true.

qsqlSQL :: Lens' QuerySQL Text Source

A Fusion Tables SQL statement, which can be any of - SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE