Query executes a query against the OLAP driver and returns an iterator for the resulting rows and schema. The result MUST be closed after use.
(ctx context.Context, stmt *Statement)
| 40 | // Query executes a query against the OLAP driver and returns an iterator for the resulting rows and schema. |
| 41 | // The result MUST be closed after use. |
| 42 | Query(ctx context.Context, stmt *Statement) (*Result, error) |
| 43 | // Head executes a query with a limit of N and returns the resulting rows and schema. |
| 44 | // It is separate from Query to allow drivers like BigQuery to optimize table previews and not incur huge costs of running a full query with limit. |
| 45 | // The result MUST be closed after use. |
no outgoing calls