| Copyright | (c) 2015 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))))))) Source
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 Source
Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE
See: querySQLGet smart constructor.
Instances
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