YQLRequest Class
yui3/src/yql/js/yql.js:5
Utility Class used under the hood by the YQL class
Constructor
YQLRequest
-
sql
-
callback
-
params
-
opts
Parameters:
-
sql
StringThe SQL statement to execute
-
callback
Function/ObjectThe callback to execute after the query (Falls through to JSONP).
-
params
ObjectAn object literal of extra parameters to pass along (optional).
-
opts
ObjectAn object literal of configuration options (optional): proto (http|https), base (url)
Index
Methods
_internal
()
private
Internal Callback Handler
_send
-
url
-
o
Private method to send the request, overwritten in plugins
Parameters:
-
url
StringThe URL to request
-
o
ObjectThe config object
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