Show:
Module: yql

Utility Class used under the hood by the YQL class

Constructor

YQLRequest

(
  • sql
  • callback
  • params
  • opts
)

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)

Index

Methods

Properties

Methods

_internal

() private

Internal Callback Handler

_send

(
  • url
  • o
)
private

Private method to send the request, overwritten in plugins

Parameters:

  • url String

    The URL to request

  • o Object

    The config object

send

() YQLRequest chainable

The method that executes the YQL Request.

Returns:

Properties

_callback

Unknown private

Holder for the callback argument

_context

Unknown private

The context to execute the callback in

_jsonp

Unknown private

Reference to the JSONP instance used to make the queries

_opts

Unknown private

Holder for the opts argument

_params

Unknown private

Holder for the params argument

BASE_URL

Unknown static

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

ENV

Unknown static

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

FORMAT

Unknown static

Default format to use: json

PROTO

Unknown static

Default protocol to use: http