API Docs for: 3.18.1

YQLRequest Class

Defined in: yql/js/yql.js:5
Module: yql

Utility Class used under the hood by the YQL class

Constructor

YQLRequest

(
  • sql
  • callback
  • params
  • opts
)

Defined in yql/js/yql.js:5

Parameters:

  • sql String

    The SQL statement to execute

  • callback Function/Object

    The callback to execute after the query (Falls through to JSONP).

  • 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)

Item Index

Methods

Properties

Methods

send

() YQLRequest chainable

Defined in yql/js/yql.js:85

The method that executes the YQL Request.

Returns:

Properties

BASE_URL

Unknown static

Defined in yql/js/yql.js:137

The base URL to query: query.yahooapis.com/v1/public/yql?

ENV

Unknown static

Defined in yql/js/yql.js:143

The environment file to load: http://datatables.org/alltables.env

FORMAT

Unknown static

Defined in yql/js/yql.js:125

Default format to use: json

PROTO

Unknown static

Defined in yql/js/yql.js:131

Default protocol to use: http