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.SQLGet

Contents

Description

Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE

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

Synopsis

REST Resource

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

A resource alias for fusiontables.query.sqlGet method which the QuerySQLGet request conforms to.

Creating a Request

querySQLGet Source

Arguments

:: Text

qsqlgSQL

-> QuerySQLGet 

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

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

Request Lenses

qsqlgTyped :: Lens' QuerySQLGet (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.

qsqlgHdrs :: Lens' QuerySQLGet (Maybe Bool) Source

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

qsqlgSQL :: Lens' QuerySQLGet Text Source

A SQL statement which can be any of - SELECT - SHOW - DESCRIBE