#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# YQL Class

Defined in: `yql/js/yql.js:152`
Module: yql

This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/).

## Constructor

### `YQL`

(

- `sql`
- `callback`
- `params`
- `opts`

)

Defined in `yql/js/yql.js:152`

#### Parameters:

- `sql` String

  The SQL statement to execute

- `callback` Function

  The callback to execute after the query (optional).

- `params` Object

  An object literal of extra parameters to pass along (optional).

- `opts` Object

  An object literal of configuration options (optional): proto (http|https), base (url)

- Index

## Item Index