Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Working example:
$ curl -XPOST http://localhost:8080/v2/query -d @- <<EOF { "type":"bigquery_run_sql", "args": { "sql":"select 3 * 4 as foo, "Hello, World!" as bar", "source":"chinook" } } EOF {"result_type":TuplesOk,"result":[["foo","bar"],["12","Hello, World!"]]}
Synopsis
- data BigQueryRunSQL
- runSQL :: (MonadIO m, CacheRWM m, MonadError QErr m, MetadataM m) => BigQueryRunSQL -> m EncJSON
- runDatabaseInspection :: (MonadIO m, CacheRWM m, MonadError QErr m, MetadataM m) => BigQueryRunSQL -> m EncJSON
Documentation
data BigQueryRunSQL Source #
Instances
runSQL :: (MonadIO m, CacheRWM m, MonadError QErr m, MetadataM m) => BigQueryRunSQL -> m EncJSON Source #
runDatabaseInspection :: (MonadIO m, CacheRWM m, MonadError QErr m, MetadataM m) => BigQueryRunSQL -> m EncJSON Source #
The SQL query in the request is ignored