| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.FusionTables.Query.SQLGet
Description
Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE
See: Fusion Tables API Reference for fusiontables.query.sqlGet.
- 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)))))))
- querySQLGet :: Text -> QuerySQLGet
- data QuerySQLGet
- qsqlgTyped :: Lens' QuerySQLGet (Maybe Bool)
- qsqlgHdrs :: Lens' QuerySQLGet (Maybe Bool)
- qsqlgSQL :: Lens' QuerySQLGet Text
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))))))) #
A resource alias for fusiontables.query.sqlGet method which the
QuerySQLGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> 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:
data QuerySQLGet #
Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE
See: querySQLGet smart constructor.
Instances
| Eq QuerySQLGet # | |
| Data QuerySQLGet # | |
| Show QuerySQLGet # | |
| Generic QuerySQLGet # | |
| GoogleRequest QuerySQLGet # | |
| GoogleRequest (MediaDownload QuerySQLGet) # | |
| type Rep QuerySQLGet # | |
| type Scopes QuerySQLGet # | |
| type Rs QuerySQLGet # | |
| type Scopes (MediaDownload QuerySQLGet) # | |
| type Rs (MediaDownload QuerySQLGet) # | |
Request Lenses
qsqlgTyped :: Lens' QuerySQLGet (Maybe Bool) #
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) #
Whether column names are included (in the first row). Default is true.
qsqlgSQL :: Lens' QuerySQLGet Text #
A SQL statement which can be any of - SELECT - SHOW - DESCRIBE