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 |
Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE
See: Fusion Tables API Reference for fusiontables.query.sqlGet
.
Synopsis
- 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
:: 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.